Re: [PATCH 1.8.0] add: make "add -u" update full tree without pathspec
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 27, 2011, 11:43 UTC
- Message-ID
- <vpqoc5x4saj.fsf@bauges.imag.fr>
- In-Reply-To
- <7vei6t4uwa.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 6 quoted lines
> Step 2, two cycles (i.e. 6-8 months) before 1.8.0, provided if the > previous step is proven positive: > > * When "git add -u" is run without any pathspec, and when the user does > not have the configuration variable, warn loudly that the default > behaviour will change in 1.8.0,
I'd even say "error out", since the old behavior is still easily available with "git add -u ." (which should be mentionned in the warning/error message).
>> PS. What about -A? > > I personally think it should change exactly the same way as "-u" for > consistency,
Same here. I care less since I use "add -A" less, but both commands should really behave the same since they're very similar.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/