Re: [RFC] git rm -u
- From
Martin von Zweigbergk <martinvonz@gmail.com>
- Date
- Jan 20, 2013, 22:17 UTC
- Message-ID
- <CANiSa6gTOFkDA_Cuu3BrHDNE17z8qukB7h9OMvP8OVjy2ej04Q@mail.gmail.com>
- In-Reply-To
- <7vobgjk0iw.fsf@alter.siamese.dyndns.org>
On Sun, Jan 20, 2013 at 1:27 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes: >> >>> "git add -u" is one of the only exceptions (with "git grep"). I consider >>> this as a bug, and think this should be changed. This has been discussed >>> several times here, but no one took the time to actually do the change > > - As we have the "from the root" magic pathspec these days, > requiring "git add -u :/" when the user really means to add > everything is no longer too much of a burden, but if we suddenly > changed "git add -u" to mean "git add -u .", that is too much of > a change in the semantics.
And I think someone (Jeff?) pointed out that that last part is even more true for "git clean", which also currently works on the current directory if not told otherwise.