Re: [PATCH] git-add: allow path limiting with -u
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 12, 2007, 07:13 UTC
- Message-ID
- <7vejlm5xax.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070512064159.GA7471@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 11 quoted lines
> Rather than updating all working tree paths, we limit > ourselves to paths listed on the command line. > > Signed-off-by: Jeff King <peff@peff.net> > --- > This turned out to be quite easy to implement. Patch is slightly larger > than necessary due to removing _all_ from the variable names, but I > think that better expresses the new functionality. > > I'm not sure that the documentation needs updated at all; I had just > assumed after reading it that 'git-add -u foo' would DWIM.
Wonderful, and I agree it should be almost trivial once you understand how diff works. Will take a look.