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

Re: Merging limitations after directory renames -- interesting test repo

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:50:36

On Fri, Feb 18, 2011 at 4:52 PM, Junio C Hamano [off-list ref] wrote:
Yeah, I think it is probably a good idea to really limit the rename
detection only to renames at least inside merge-recursive.  The static
variable does look ugly but it shouldn't be a rocket surgery to pass it
down if we want to.
Here's a slight update. It still has the "too ugly to live"
if-statment without proper indentation, but it now changes
"for_each_hash()" to pass in a flag value and uses that.

It also fixes one of the tests that depended on the "find copies"
behavior for its result to actually ask for copies now that we don't
give them unless you do.

                                 Linus

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help