public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Eugen Konkov <kes-kes@yandex•ru>
To: Git Mailing List <git@vger•kernel.org>
Subject: BUG: git rebase shows different commit message
Date: Wed, 14 Oct 2020 20:11:06 +0300	[thread overview]
Message-ID: <703071109.20201014201106@yandex.ru> (raw)

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


             reply	other threads:[~2020-10-14 17:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-14 17:11 Eugen Konkov [this message]
2020-10-14 17:55 ` BUG: git rebase shows different commit message Junio C Hamano
2020-10-15  7:36   ` Eugen Konkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=703071109.20201014201106@yandex.ru \
    --to=kes-kes@yandex$(echo .)ru \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox