From: Junio C Hamano Date: Wed, 16 Sep 2009 20:30:15 GMT Subject: Re: Behavior of 'git add \*.txt': bug or feature? Message-ID: <7vbplazl7s.fsf@alter.siamese.dyndns.org> In-Reply-To: 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.