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

Re: git bug: moved file with local unstaged changes are lost during merge

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:41

Clemens Buchacher [off-list ref] writes:
2. merge_trees -> process_entry

Find possible rename pairs and try to merge renames. Due to the renames,
entries that were classified as b) above can now become of type a).
Yes, unfortunately the rename-processing part of merge-recursive is known
to be broken wrt things like this.  If you want to punt,
Maybe we should disable merging with a dirty work tree altogether, until
we have a solution that is safe to use?
this is not the way to go, as "resolve" is perfectly safe.  It would make
more sense to disable the rename-processing part of recursive by default,
until it gets cleaned up further.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help