summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2018-08-15 10:41:25 +0100
committerJunio C Hamano <gitster@pobox.com>2018-08-15 10:50:24 -0700
commitdd2e36ebaccd6dc2ca4d37759248ce9bbdf9113e (patch)
treea64918927a3d015344978c1628b0556b1adcd1c0 /builtin/commit.c
parent15ef69314d54945471603223bef00091673b5725 (diff)
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>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions