Re: Strange effect merging empty file
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 22, 2012, 17:03 UTC
- Message-ID
- <7vty1gy3eh.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120322140140.GA8803@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> 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
Yeah, thanks for digging up the old thread. I was looking at the patch to merge-recursive from Dscho on that thread and I think it identified the place that needs patching correctly. I was on a tablet, without the access to the surrounding code outside the patch context, so I do not know if the logic to detect the pure-rename of an empty file in the patch was correct, or the patch still applies to the current codebase, though.