From: Junio C Hamano Date: Wed, 21 Nov 2007 20:40:47 GMT Subject: Re: [PATCH 2/4] Teach git-add--interactive to accept a file path to patch Message-ID: <7vejejfi28.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071121152118.GG24108@sigill.intra.peff.net> Jeff King writes: > ... > On top of that, it would be great to be able to do something like > > git-add -i *.c > > and just get prompted for changed files (right now, you only get > prompted for changed files, but unchanged files seem to print a spurious > newline). > > And at any rate, this would require fixing 3/4 to handle the multiple > files from git-add. > > What do you think? If we are to add path limited behaviour, I think it should also grok "git-add -i sub/dir/". IOW, you would want to have the same path selection semantics as git-add without the "interactive" bit.