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 t

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

2013-03-12 Thread Matthieu Moy
Jeff King 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 occasiona

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 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.

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

2013-03-11 Thread Matthieu Moy
Junio C Hamano 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 give conflict with

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

2013-03-11 Thread Junio C Hamano
Matthieu Moy writes: > Junio C Hamano 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,

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

2013-03-10 Thread Matthieu Moy
Junio C Hamano 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 adopting th