Re: Re* git commit fails under some circumstances

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Re* git commit fails under some circumstances

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:59

Jeff King [off-list ref] 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.  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.

Re: Re* git commit fails under some circumstances

From: Jeff King <hidden>
Date: 2016-06-15 22:50:59

On Wed, Apr 06, 2011 at 10:24:17AM -0700, Junio C Hamano wrote:
Jeff King [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help