comment
authorJoey Hess <joeyh@joeyh.name>
Tue, 6 May 2025 15:29:47 +0000 (11:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 6 May 2025 15:29:47 +0000 (11:29 -0400)
doc/forum/whereused__58___--key_other_branches_w__47__o_checkout/comment_5_e9a78b2c8ed325ccf57c515bb162fc1d._comment [new file with mode: 0644]

diff --git a/doc/forum/whereused__58___--key_other_branches_w__47__o_checkout/comment_5_e9a78b2c8ed325ccf57c515bb162fc1d._comment b/doc/forum/whereused__58___--key_other_branches_w__47__o_checkout/comment_5_e9a78b2c8ed325ccf57c515bb162fc1d._comment
new file mode 100644 (file)
index 0000000..776cdb1
--- /dev/null
@@ -0,0 +1,16 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 5"""
+ date="2025-05-06T15:18:51Z"
+ content="""
+It's fine to have multiple unrelated branches in a repository, I don't
+think you're doing anything wrong.
+
+Currently --historical stops once it finds one use of the key.
+I think you are wanting to find all uses by any of your branches?
+
+Maybe the right option for this use case would be a --branches that
+searches each branch for uses of the key and doesn't stop at the first hit.
+Perhaps combined with a --refspec= option that takes a wildcard that can be
+used to select which branches to search.
+"""]]