Re: "git add -u" broken in git 1.7.4?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Feb 6, 2011, 20:48 UTC
- Message-ID
- <vpq1v3kopn3.fsf@bauges.imag.fr>
- In-Reply-To
- <4D4EF7E4.7050303@hartwork.org>
Sebastian Pipping <webmaster@hartwork.org> writes:
> I was and I can confirm the different behaviour with 1.7.4 over here: it > does work on the root directory of the repo as you supposed.
What do you mean by "it does not work"?
"git add -u" adds files under the current directory, and it always did.
> Is that behavior needed to be as is or could you change it to work from > everywhere?
I consider it as a design bug that "add -u" is not tree-wide, but it's not easy to change the existing behavior without breaking expectations of people used to the current behavior.
> Could it be it has been working from anywhere before?
Can you post an example where Git 1.7.4 and a previous version behave differently? Up to now, I see difference between your expectations and what Git does, but not between new and old versions.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/