From: Nguyen Thai Ngoc Duy Date: Sat, 11 Feb 2012 14:06:22 GMT Subject: Re: [RFC/PATCH] tag: make list exclude ! Message-ID: In-Reply-To: On Sat, Feb 11, 2012 at 5:13 PM, Jakub Narebski wrote: > Junio C Hamano writes: > >> In a future versions, we may want to have "branch/tag --list" also ask for >> FNM_PATHNAME (this *is* a backward incompatible change, so it needs to be >> performed across major version boundary, with backward compatibility >> configurations, deprecation warnings and whole nine yards). Under the new >> match function, today's "branch --list 'maint*'" needs to be spelled as >> "branch --list 'maint*/*'" or something. One of the reasons I proposed pathspec is to avoid another set of matching syntax in addition to gitattr, gitignore and pathspec, Pathspec magic makes it extensible, FNM_PATHNAME be set that way. > Or "branch --list 'maint**' But this comes up a few times already on gitignore discussions. We have fnmatch.c in compat for Windows. Someone just needs to step up and implement "**". It would also a nice thing to add to pathspec syntax, if we can forget the backward compatibility nightmare. -- Duy