Thread (2 messages) 2 messages, 2 authors, 2025-03-14

Re: [PATCH v3 2/2] completion: fix bugs with slashes in remote names

From: Junio C Hamano <hidden>
Date: 2025-03-14 22:18:40

David Mandelberg [off-list ref] writes:
+	__git for-each-ref --format='%(refname)' 'refs/remotes/**' |
Just a bit of curiosity, but how would this be different from using

	__git for-each-ref --format='%(refname)' refs/remotes/

i.e. the prefix match, here?  Does the wildmatcher clever enough to
optimize "**" away and make it just to iterate over refs/remotes/
hierarchy without filtering anything?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help