Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: Strange effect merging empty file

From: Jeff King <hidden>
Date: 2016-06-15 22:53:21

On Thu, Mar 22, 2012 at 01:47:04PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
Yes, this will indeed fix this particular problem. But in general,
empty files can be used for various reasons, and it can be a pretty
nasty surprise if they sprout random content as a result of a merge.

Maybe merge-recursive could special-case empty files?
I was thinking the same thing. And it seems this came up once before,
and the list seemed to favor special-casing merge-recursive (but not
diffcore):

  http://thread.gmane.org/gmane.comp.version-control.git/116917/focus=117082

-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