Re: Re* git commit fails under some circumstances
- From
Jeff King <peff@github.com>
- Date
- Apr 6, 2011, 17:57 UTC
- Message-ID
- <20110406175700.GB8205@sigill.intra.peff.net>
- In-Reply-To
- <7v1v1fjnsu.fsf@alter.siamese.dyndns.org>
On Wed, Apr 06, 2011 at 10:24:17AM -0700, Junio C Hamano wrote:
Show 7 quoted lines
> Jeff King <peff@peff.net> writes: > > > I am much more concerned with whether and how this information would be > > represented in the "git status --porcelain" format. > > I earlier suggested using 'I'; a safer alternative would be to change > nothing and let the callers figure it out.
Ah, sorry, I missed that.
> I slightly favor the former; while there is a definite risk of > breaking scripts' expectations, they can be tentatively marked "this > script does not work until you 'git add' paths you used 'add -N'" and > I don't think it would be such a big deal.
I think that is reasonable. Maintaining backwards compatibility doesn't mean we can _never_ expand to cover new situations or give more information. In this case we would be maintaining syntactic compatibility, and have identical output when the "add -N" feature is not used.
-Peff