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

BUG: git rebase shows different commit message

From
EKEugen Konkov <kes-kes@yandex.ru>
Date
Oct 14, 2020, 17:11 UTC
Message-ID
<703071109.20201014201106@yandex.ru>
Hello Git,
How to reproduce: do commit message with leading space:
$git log --graph --decorate --pretty=oneline --abbrev-commit
* 093010ea (local/dev) Change column 'Label' => 'OPFG' and added column 'comment'
* 86221a47  Updated OpenAPI schema according to SCHEMA 193
* 6202eb08 Added opfg.html

$git rebase -i --autostash --rebase-merges 86221a47^ label onto

reset onto pick 86221a47 Updated OpenAPI schema according to SCHEMA 193 pick 093010ea Change column 'Label' => 'OPFG' and added column 'comment'

Here commit message is shown without leading space. I think that this is wrong. Because if space was shown then I reword commit message

r 86221a47 Updated OpenAPI schema according to SCHEMA 193 pick 093010ea Change column 'Label' => 'OPFG' and added column 'comment'

but now I just do not see that I shold reword it =(
TODO: Display commit message as is
-- 
Best regards,
Eugen Konkov
Next: Junio C Hamano
Message 1 of 3 in “BUG: git rebase shows different commit message”
  1. Eugen KonkovOct 14, 2020
  2. Junio C HamanoOct 14, 2020
  3. Eugen KonkovOct 15, 2020

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.