From: Junio C Hamano Date: Mon, 29 Jun 2026 17:38:05 GMT Subject: Re: [PATCH v6 4/4] history: re-edit a squash with every message Message-ID: In-Reply-To: Junio C Hamano writes: > Harald Nordgren writes: > >>> 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. After looking at what Phillip said in a side thread (look for "So instead of ... We'd have") [*], I retract my "I doubt it would make practical difference". Without boundary that shows where each message begins, the result is much harder to look at. [Reference] * https://lore.kernel.org/git/3b3af3ef-a043-4af9-964e-429237789c97@gmail.com/