From: Matthieu Moy Date: Tue, 01 Mar 2011 14:53:13 GMT Subject: Re: [PATCH 1.8.0] add: make "add -u" update full tree without pathspec Message-ID: In-Reply-To: <7vk4gkk5pd.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > I already do not like the possibility of potential double deprecation > myself, one to flip the default and then possibly another to drop the > support of the traditional behavour, but anything I've seen so far would > hurt the end users more than that plan. I think promoting "git add -u ." more than a configuration option would reduce the pain. As a user, if I get used to typing "git add -u ." instead of "git add -u", I get the current behavior regardless of the version of Git, without a warning. Later, when all the machines I word on support the tree-wide "git add -u" (either 1.7.x + some configuration or 1.8.y), I'll use it as a new feature. So, a warning like warning: the behavior of "git add -u" without pathspec will change in Git 1.8.0. To keep the current behavior, use this instead: git add -u . + explanations about the config options as already discussed here would be fine. -- Matthieu Moy http://www-verimag.imag.fr/~moy/