Re: [RFC PATCH 0/1] rebase --onto detection of already applied commits
- From
- Phillip Wood <phillip.wood123@gmail.com>
- Date
- Dec 13, 2022, 13:04 UTC
- Message-ID
- <51209c56-c82e-c393-6983-2a8c1a7388d3@dunelm.org.uk>
- In-Reply-To
- <f4b485c8-3bc4-fb0c-3f7a-084daac7c14d@collabora.com>
Hi Christian
On 13/12/2022 10:37, Cristian Ciocaltea wrote:
> Currently '--onto' works as if the user provided the > '--reapply-cherry-picks' flag,
--onto does not affect the cherry-pick detection. When running
git rebase --onto new-base upstream feature
any commits in upstream have been cherry-picked from feature they will not be rebased. What it does not do is look for cherry-picks in onto...feature. It would be nice to add that but I'm not sure it is straight forward to do so and still exclude commits that have been cherry-picked from feature to upstream.
Best Wishes
Phillip