From: Junio C Hamano Date: Sun, 14 Mar 2010 06:34:34 GMT Subject: Re: 'git add' regression in git-1.7? Message-ID: <7veijns96t.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100311071543.GA8750@sigill.intra.peff.net> Jeff King writes: > Another option is to declare the current behavior wrong. Letting the > shell glob produces different results for obvious reasons: > > $ git add b* ;# will fail, because we see individual pathspecs > > but perhaps that is the "feature" of letting add glob itself. Personally > I have never asked "git add" to glob on my behalf, so I don't know why > people would do it. I know of one reason: $ git add '*.[ch]' will add a/b.c and c/d/f.h for you.