aboutsummaryrefslogtreecommitdiff
path: root/decorate.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2010-01-14 06:54:50 +0100
committerJunio C Hamano <gitster@pobox.com>2010-01-14 00:27:56 -0800
commitf99e269c44a7f07699a92c7e31d31ed93dafb409 (patch)
tree77083a03328716f07c5b94444a598ed14bbac62d /decorate.c
parent5065ed296abc1c0b66ad7c5e963e048cb90b6ee6 (diff)
downloadgit-f99e269c44a7f07699a92c7e31d31ed93dafb409.tar.gz
git-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 'decorate.c')
0 files changed, 0 insertions, 0 deletions