git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] git mangles up commit messages on rebase

From
Christoph Anton Mitterer <calestyo@scientia.net>
Date
Feb 21, 2015, 17:48 UTC
Message-ID
<1424540906.15539.22.camel@scientia.net>
Hey.

When I do a simple interactive rebase, e.g. something like this: edit 78f3ba8 editing or just rewriting this commit pick b621076 foo pick e06c28e this one had a "verbatim" commit message pick c0a447f bar

and one of the commit messages from the children I edit/rewrite had a commit message that was edited with --cleanup=verbatim (e.g. double newlines, etc.).

Then these get lost once I --continue and it appears that the messages are recreated but with the default of --cleanup=default .

IMO that's quite annoying, cause when one intentionally chose e.g. -cleanup=verbatim and made commit messages with that, then this is probably what one wanted and it should be dumped just because of changing another commit.

Could that possibly be solved? :)

Cheers, Chris.

Next: Michael J Gruber
Message 1 of 14 in “[BUG] git mangles up commit messages on rebase”
  1. Christoph Anton MittererFeb 21, 2015
  2. sequencer: preserve commit messagesMichael J Gruber, Feb 23, 2015
  3. Junio C HamanoFeb 23, 2015
  4. Michael J GruberFeb 24, 2015
  5. Junio C HamanoFeb 24, 2015
  6. Michael J GruberFeb 25, 2015
  7. Junio C HamanoFeb 25, 2015
  8. Michael J GruberFeb 26, 2015
  9. Junio C HamanoFeb 26, 2015
  10. Michael J GruberFeb 27, 2015
  11. Junio C HamanoFeb 27, 2015
  12. [PATCHv2] sequencer: preserve commit messagesMichael J Gruber, Mar 6, 2015
  13. Junio C HamanoMar 6, 2015
  14. Christoph Anton MittererFeb 25, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.