Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-12 Thread Jeff King
On Sun, Mar 10, 2013 at 04:49:09PM +0100, Matthieu Moy wrote: Junio C Hamano gits...@pobox.com writes: As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without pathspec, 2013-01-28), git add -u/-A that is run without pathspec in a subdirectory will stop working sometime

Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-12 Thread Matthieu Moy
Jeff King p...@peff.net writes: PS I wonder how others are finding the warning? I'm finding it slightly annoying. Perhaps I just haven't retrained my fingers yet. But one problem with that retraining is that I type git add -u from the root _most_ of the time, and it just works. But

Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-12 Thread Jeff King
On Tue, Mar 12, 2013 at 02:58:44PM +0100, Matthieu Moy wrote: I guess we already rejected the idea of being able to shut off the warning and just get the new behavior, in favor of having people specify it manually each time? Somehow, but we may find a way to do so, as long as it

Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-11 Thread Junio C Hamano
Matthieu Moy matthieu@grenoble-inp.fr writes: Junio C Hamano gits...@pobox.com writes: As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without pathspec, 2013-01-28), git add -u/-A that is run without pathspec in a subdirectory will stop working sometime before Git 2.0, to

Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-11 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: So let's squash these two steps into one and keep that in 'next' until 2.0 ships. OK, then we may update the comment describing the plan (for people digging in the code to find out what the plan is). Small patch serie follows with this (will probably

Re: [PATCH 1/2] require pathspec for git add -u/-A

2013-03-10 Thread Matthieu Moy
Junio C Hamano gits...@pobox.com writes: As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without pathspec, 2013-01-28), git add -u/-A that is run without pathspec in a subdirectory will stop working sometime before Git 2.0, to wean users off of the old default, in preparation for

[PATCH 1/2] require pathspec for git add -u/-A

2013-03-08 Thread Junio C Hamano
As promised in 0fa2eb530fb7 (add: warn when -u or -A is used without pathspec, 2013-01-28), git add -u/-A that is run without pathspec in a subdirectory will stop working sometime before Git 2.0, to wean users off of the old default, in preparation for adopting the new default in Git 2.0.