From: Phillip Wood Date: Tue, 13 Dec 2022 13:04:11 GMT Subject: Re: [RFC PATCH 0/1] rebase --onto detection of already applied commits Message-ID: <51209c56-c82e-c393-6983-2a8c1a7388d3@dunelm.org.uk> In-Reply-To: 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