From: Matthieu Moy Date: Wed, 16 Sep 2009 21:26:12 GMT Subject: Re: Behavior of 'git add \*.txt': bug or feature? Message-ID: In-Reply-To: <7vbplazl7s.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Matthieu Moy writes: > >> It this the intended behavior? If so, what's the rationale for this? > > I strongly suspect that it comes from the fact that we have two > definitions and three implementations of pathspec-aware tree traversal. > One family is unaware of shell-glob wildcards (they only do leading > directory path match) while the other know both leading directory path and > shell-glob. > > It is on the list of long-term items to fix, as the change required is > quite involved. OK, that answers my question. Thanks, -- Matthieu Moy http://www-verimag.imag.fr/~moy/