Re: [PATCH 1.8.0] add: make "add -u" update full tree without pathspec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <gitster@xxxxxxxxx> 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).

>> PS. What about -A?
>
> I personally think it should change exactly the same way as "-u" for
> consistency,

Same here. I care less since I use "add -A" less, but both commands
should really behave the same since they're very similar.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]