diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2010-01-14 06:54:50 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-14 00:27:56 -0800 |
commit | f99e269c44a7f07699a92c7e31d31ed93dafb409 (patch) | |
tree | 77083a03328716f07c5b94444a598ed14bbac62d /diffcore.h | |
parent | rebase -i: Improve consistency of commit count in generated commit messages (diff) | |
download | tgif-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 'diffcore.h')
0 files changed, 0 insertions, 0 deletions