On Sat, Feb 11, 2012 at 5:13 PM, Jakub Narebski <jnareb@xxxxxxxxx> wrote: > Junio C Hamano <gitster@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html