Thread (1 message) 1 message, 1 author, 2016-06-15

Re: How to selectively recreate merge state?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:54

Paolo Bonzini [off-list ref] writes:
On 12/11/2009 12:20 PM, Jakub Narebski wrote:
quoted
quoted
quoted
 2 and 3 are easy (cheap) to recreate from HEAD and MERGE_HEAD, 1 is not.
 I guess that's why --unresolve doesn't even attempt to do anything with 1.
But then "git update-index --unresolve<file>" is next to useless.
Only "next to".  It can still be useful if you added a file before
editing it, so you left in the conflict markers.
To be fair, these need to be judged within their context, and then get
updated to today's reality.

"diff --cc" was merely a relatively new curiosity that allows a different
view into a conflicted merge (it was still cooking in 'next').  The
primary ways to inspect a conflict were "diff --theirs" and "diff --ours";
repopulating stages #2 and #3 was sufficient for them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help