Re: [PATCH v6 4/4] history: re-edit a squash with every message
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 29, 2026, 14:49 UTC
- Message-ID
- <xmqq7bnhz9jr.fsf@gitster.g>
- In-Reply-To
- <CAHwyqnXXFz4z_ULUq7Oqu0ykwpLJyEyW-uoF2bKfoYZQAjrNdQ@mail.gmail.com>
Harald Nordgren <haraldnordgren@gmail.com> writes:
Show 8 quoted lines
>> I doubt it would make practical difference, but one thing I notice >> is that unlike "git rebase -i", this one does not intersperse >> markers like "# This is the 1st commit message" in between the >> messages taken from the squashed commits, so it is not exactly >> "mirroring". > > I wouldn't mind extracting that logic from 'rebase -i' to show it > here. It would be nice to have.
If we can share more code (not necessarily the exact existing code---after cleaning it up if needed is perfectly fine and may even be better) across codebaes that would be excellent. Thanks.