Re: Commit dropped when swapping commits with rebase -i -p
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 1, 2017, 19:16 UTC
- Message-ID
- <alpine.DEB.2.21.1.1709012116060.4132@virtualbox>
- In-Reply-To
- <CAHGBnuO0dviVr0zD+KqANc6Ju8-cZh2KLbLz6NH3h+jprRzbaw@mail.gmail.com>
Hi Sebastian,
On Wed, 30 Aug 2017, Sebastian Schuberth wrote:
Show 18 quoted lines
> On Wed, Aug 30, 2017 at 10:28 PM, Johannes Schindelin > <Johannes.Schindelin@gmx.de> wrote: > > > Please see 'exchange two commits with -p' in t3404. This is a known > > Thank for pointing out the test. > > > breakage, and due to the fact that -p and -i are fundamentally > > incompatible with one another (even if -p's implementation was based on > > -i's). I never had in mind for -p to be allowed together with -i, and was > > against allowing it because of the design. > > In any case, I wouldn't have expected *that* kind of side effect for > such a simple case (that does not involve any merge commits). > > If these options are fundamentally incompatible as you say, would you > agree that it makes sense to disallow their usage together (instead of > just documenting that you should know what you're doing)?
As I said already, I agreed with you before you said it, but I was overruled.
Ciao, Johannes