Re: [PATCH v3 0/4] rebase -i: avoid stale "# This is a combinationof" in commit messages
- From
- Phillip Wood <phillip.wood@talktalk.net>
- Date
- Apr 23, 2018, 19:50 UTC
- Message-ID
- <12fa9a1f-9dc2-9108-132f-48b75ae5a8d3@talktalk.net>
- In-Reply-To
- <CAGZ79kbK7j0njrZ8-d_Da6+XyH_RVRhBu=hcpzr7EFsOCSFJVQ@mail.gmail.com>
On 23/04/18 19:11, Stefan Beller wrote:
Show 21 quoted lines
> > On Sat, Apr 21, 2018 at 12:34 AM, Johannes Schindelin > <johannes.schindelin@gmx.de> wrote: >> Eric Sunshine pointed out that I had such a commit message in >> https://public-inbox.org/git/CAPig+cRrS0_nYJJY=O6cboV630sNQHPV5QGrQdD8MW-sYzNFGQ@mail.gmail.com/ >> and I went on a hunt to figure out how the heck this happened. >> >> Turns out that if there is a fixup/squash chain where the *last* command >> fails with merge conflicts, and we either --skip ahead or resolve the >> conflict to a clean tree and then --continue, our code does not do a >> final cleanup. >> >> Contrary to my initial gut feeling, this bug was not introduced by my >> rewrite in C of the core parts of rebase -i, but it looks to me as if >> that bug was with us for a very long time (at least the --skip part). >> >> The developer (read: user of rebase -i) in me says that we would want to >> fast-track this, but the author of rebase -i in me says that we should >> be cautious and cook this in `next` for a while. > > I looked through the patches again and think this series is good to go.
I've just realized I commented on an outdated version as the new version was posted there rather than as a reply to v1. I've just looked through it and I'm not sure it addresses the unnecessary editing of the commit message of the previous commit if a single squash command is skipped as outlined in https://public-inbox.org/git/b6512eae-e214-9699-4d69-77117a0daec3@talktalk.net/
Best Wishes
Phillip
> Thanks, > Stefan >