Re: [PATCH 1.8.0] add: make "add -u" update full tree without pathspec
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 27, 2011, 17:04 UTC
- Message-ID
- <AANLkTim9EOHBtZj5h1+xs9C_WhpcycwoPbWZHrZ38w+E@mail.gmail.com>
- In-Reply-To
- <vpqoc5x4saj.fsf@bauges.imag.fr>
On Sun, Feb 27, 2011 at 6:43 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 12 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: > >> 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).
You wouldn't want scripts to break this way. Warnings can give script writers some time to update (assume that scripts are installed system wide, not in $HOME).
-- Duy