Re: [RFC/PATCH] add: warn when -u or -A is used without filepattern
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Jan 21, 2013, 20:06 UTC
- Message-ID
- <vpqbocipaha.fsf@grenoble-inp.fr>
- In-Reply-To
- <CAA01CsqwuR+HTUWA+iqSamOcR0WBhwK0kfn5+80L95TZn-SRng@mail.gmail.com>
Piotr Krukowiecki <piotr.krukowiecki@gmail.com> writes:
> Another issue is usability. Can we definitely say which is better: add > all changes from current subdir, or add all changes from whole tree? I > don't know.
Hard to tell, depending on users, use-case, ...
But the good news is: whatever option is chosen, the other one is only a few keystrokes away (git add -u . or git add -u :/).
-- Matthieu Moy http://www-verimag.imag.fr/~moy/