From: Pavel Rappo <pavel.rappo@gmail.com>
To: Git mailing list <git@vger.kernel.org>
Subject: How to turn off rename detection for cherry-pick?
Date: Mon, 26 Aug 2024 12:09:43 +0100 [thread overview]
Message-ID: <CAChcVumj41NCAcjzLyDGAyb+-QuL0Ha1AANe67jKVBT8xDRYdg@mail.gmail.com> (raw)
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.
next reply other threads:[~2024-08-26 11:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 11:09 Pavel Rappo [this message]
2024-08-29 8:47 ` How to turn off rename detection for cherry-pick? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAChcVumj41NCAcjzLyDGAyb+-QuL0Ha1AANe67jKVBT8xDRYdg@mail.gmail.com \
--to=pavel.rappo@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).