Re: git add -u nonexistent-file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 09, 2010 at 01:58:16PM -0800, Junio C Hamano wrote:

> > That being said, you noticed that the regular add case notes unused
> > pathspecs on the command line:
> >
> >   $ git add bogus
> >   fatal: pathspec 'bogus' did not match any files
> >
> > We could probably do the same here.
> 
> It won't be entirely trivial to do so efficiently but it shouldn't be a
> rocket surgery.
> 
> Something like this (untested of course)?

Looks like Chris gave it some basic testing. I read over the patch
itself, and it looks sane to me.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]