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]

 



Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> writes:

> But "update" should mean "replace git add -u with git add -u .", which
> is the portable way to do the same.
>
>> so the introduction of the configuration becomes a flag-day event.
>> Hmph...
>
> The introduction of the config variable is a non-event if you already
> use the portable . notation.

I think you got this part wrong.  Until now, there was no "portability" to
worry about when using "git add -u".  "git add -u" used to be _guaranteed_
to be relative to the cwd, with or without ".".  Our update will _break_
that expectation and suddenly make "." "the portable notation".

In other words, it is far from a non-event.  We cannot say "'add -u .' is
the portable way to write it anyway, so you should have been writing that
from day one" as an excuse for breaking their scripts.

We still have to say "We are sorry, we will be breaking your scripts.
Please add an extra dot at the end".  I am Ok saying that, but we should
admit that we are knowingly breaking things.

--
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]