summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2010-01-14 06:54:50 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-14 00:27:56 -0800
commitf99e269c44a7f07699a92c7e31d31ed93dafb409 (patch)
tree77083a03328716f07c5b94444a598ed14bbac62d /git.c
parentrebase -i: Improve consistency of commit count in generated commit messages (diff)
downloadtgif-f99e269c44a7f07699a92c7e31d31ed93dafb409.tar.xz
rebase -i: Simplify commit counting for generated commit messages
Read the old count from the first line of the old commit message rather than counting the number of commit message blocks in the file. This is simpler, faster, and more robust (e.g., it cannot be confused by strange commit message contents). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions