merge-recursive: do not clobber untracked working tree garbage
authorJunio C Hamano <gitster@pobox.com>
Mon, 15 Dec 2008 03:40:09 +0000 (19:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Dec 2008 10:39:57 +0000 (02:39 -0800)
When merge-recursive wanted to create a new file in the work tree (either
as the final result, or a hint for reference purposes while delete/modify
conflicts), it unconditionally overwrote an untracked file in the working
tree. Be careful not to lose whatever the user has that is not tracked.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found