Re: [PATCH] add: allow users to silence Git 2.0 warnings about "add -u"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 22, 2013, 06:23 UTC
- Message-ID
- <7vtxp4sw8e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1361513224-34550-1-git-send-email-davvid@gmail.com>
David Aguilar <davvid@gmail.com> writes:
> When "git add -u" is invoked from a subdirectory it prints a > loud warning message about an upcoming Git 2.0 behavior change. > Some users do not care to be warned. Accomodate them.
I do not think this is what we discussed to do.
It was very much deliberate to make the way to "squelch the warning" not a "set once and *forget*", aka configuration variable, but a simple-to-type extra command line argument i.e. "git add -u .", that you will *always* type to train your fingers to explicitly say what you mean, so that the default switch will not matter to existing users.