]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
rebase -i: fix numbering in squash message
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 15 Aug 2018 09:41:25 +0000 (10:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Aug 2018 17:50:24 +0000 (10:50 -0700)
commitdd2e36ebaccd6dc2ca4d37759248ce9bbdf9113e
treea64918927a3d015344978c1628b0556b1adcd1c0
parent15ef69314d54945471603223bef00091673b5725
rebase -i: fix numbering in squash message

Commit e12a7ef597 ("rebase -i: Handle "combination of <n> commits" with
GETTEXT_POISON", 2018-04-27) changed the way that individual commit
messages are labelled when squashing commits together. In doing so a
regression was introduced where the numbering of the messages is off by
one. This commit fixes that and adds a test for the numbering.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sequencer.c
t/t3418-rebase-continue.sh