From: Johannes Schindelin Date: Tue, 16 Aug 2022 09:23:05 GMT Subject: Re: [PATCH 0/5] rebase --keep-base: imply --reapply-cherry-picks and --no-fork-point Message-ID: <5o8oon84-sqop-o269-30s4-71p72or31r20@tzk.qr> In-Reply-To: Hi Phillip, On Mon, 15 Aug 2022, Phillip Wood via GitGitGadget wrote: > A while a go Philippe reported [1] that he was surprised 'git rebase > --keep-base' removed commits that had been cherry-picked upstream even > though to branch was not being rebased. This has bitten me, too (I did just not get around to reply to Philippe's mail). > I think it is also surprising if '--keep-base' changes the base of the > branch without '--fork-point' being explicitly given on the command > line. This series therefore changes the default behavior of > '--keep-base' to imply '--reapply-cherry-picks' and '--no-fork-point' so > that the base of the branch is unchanged and no commits are removed. In my mind, `--keep-base` should always have adjusted the `` to point to the base commit, which is what patch 4/5 does. So I am very much in favor of this patch series. Junio seems to be on top of the code review, so I'll avoid stepping on his toes by adding mine ;-) Ciao, Dscho