Re: "git apply --check" successes but git am says "does not match index"

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

Re: "git apply --check" successes but git am says "does not match index"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:49

Jeff King [off-list ref] writes:
... I wonder if "git rebase" actually
suffers from the same problem,...
Doesn't it require a spiffy clean work tree before even starting?

Re: "git apply --check" successes but git am says "does not match index"

From: Jeff King <hidden>
Date: 2016-06-15 22:51:49

On Mon, Aug 15, 2011 at 09:10:43PM -0700, Junio C Hamano wrote:
Jeff King [off-list ref] writes:
quoted
... I wonder if "git rebase" actually
suffers from the same problem,...
Doesn't it require a spiffy clean work tree before even starting?
Ah, you're right. I was confused that the continue case called
update-index, but the regular case did not. But it calls
require_clean_work_tree, which refreshes the index (in addition to
checking the dirty state, of course). So it's fine.

-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