Re: [PATCH v3] add: warn when -u or -A is used without filepattern
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 15, 2013, 10:00 UTC
- Message-ID
- <vpq4nhd6gmp.fsf@grenoble-inp.fr>
- In-Reply-To
- <7vmwv6wivs.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 10 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> warning: The behavior of 'git add --update (or -u)' with no path argument from a >> subdirectory of the tree will change in Git 2.0 and should not be used anymore. >> >> There is a logic gap between "will change" and "should not be used" >> that is not filled like the text in the manual page does. > > I guess it is not so bad after all, if you read the entire message, > not just the first two lines.
Also, the warning is meant to be read by a user who just typed "git add -u", so it is expected that the user knows what it does in current (or past) versions of Git.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/