git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to turn off rename detection for cherry-pick?
@ 2024-08-26 11:09 Pavel Rappo
  2024-08-29  8:47 ` Pavel Rappo
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Rappo @ 2024-08-26 11:09 UTC (permalink / raw)
  To: Git mailing list

As far as I understand, the "ort" strategy does not allow turning off
rename detection. The best you can do is set the similarity index
threshold to 100%. However, it does not address the case of candidate
files being exactly the same.

So, it seems to me that the only way to do it would be to downgrade to
the "recursive" strategy and set the "no-renames" option:

    git cherry-pick --strategy=recursive --strategy-option=no-renames
<commit>...

Is my understanding correct? Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-30 17:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26 11:09 How to turn off rename detection for cherry-pick? Pavel Rappo
2024-08-29  8:47 ` Pavel Rappo
2024-08-29 21:43   ` Jeff King
2024-08-29 23:12     ` Pavel Rappo
2024-08-30  0:31       ` Jeff King
2024-08-30 10:35         ` Pavel Rappo
2024-08-30 14:33         ` Elijah Newren
2024-08-30 16:49           ` Junio C Hamano
2024-08-30 16:14         ` Junio C Hamano
2024-08-30 17:17           ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).