From: Nguyen Thai Ngoc Duy Date: Mon, 28 Feb 2011 06:37:54 GMT Subject: Re: [PATCH 1.8.0] add: make "add -u" update full tree without pathspec Message-ID: In-Reply-To: <7vy6512rnb.fsf@alter.siamese.dyndns.org> On Mon, Feb 28, 2011 at 2:39 AM, Junio C Hamano wrote: > Nguyen Thai Ngoc Duy writes: >> There's a problem. I use git on many machines. Some will have this >> config enabled, some will not (yet). Perhaps a third option, which >> will print something when "git add -u" is issued as a reminder? > > Such a warning would not help you on a machine that does not even have git > with Step 1 change. > > What you conceive as a problem is just a reminder that any incompatible > change you plan to add will have pain involved.  On two machines, one with > a new feature and the other without the new feature, you would have to > work differently _or_ you would train yourself to use both versions in a > compatible way (e.g. when you mean tree-wide, you would cdup, and when you > mean cwd, you would explicitly say ".", from the command line).  That is > not limited to this particular feature but any incompatible change, no? No. But I hoped it would help me somehow, or at least remind me to update git on the machines I touch. -- Duy