Skip to contentSkip to conversation

diff.renameLimit biting/silently ignored in cherry-pick

DISCUSSION Andreas Krey 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi all,

we're running into a problem with the rename detection; we're at num_src=27320 and num_create=46731, which means that 'matrix' would still be enumerable in int32, but... well, I don't yet know where exactly it refuses to perform rename detection. I've tried to set needed_rename_limit to 2^31-2 at the place where it was set to the maximum of num_src and num_create, but that doesn't help. Where could I affect this?

Also we have the impression that 'git cherry-pick' silently stops doing rename detection in this situation - it doesn't take nearly long enough to perform it, and it clearly misses renames.

I'm trying to do a 'diff --name-status -M' to see whether the rename is properly detected, but I guess the real way would be to make cherry-pick still perform rename detection, and to find out how to do *that*.

Cheers,

Andreas

Signature · 3 lines
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800