mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
annotate should number lines starting with 1
C programmers are well used to counting from zero, but every other text file tool starts counting from 1. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
ce4c8b24a1
commit
c6d4217ebc
|
@ -128,7 +128,7 @@ ()
|
|||
}
|
||||
|
||||
printf("%s\t(%10s\t%10s\t%d)%s\n", $rev, $committer,
|
||||
format_date($date), $i++, $output);
|
||||
format_date($date), ++$i, $output);
|
||||
}
|
||||
|
||||
sub init_claim {
|
||||
|
|
Loading…
Reference in a new issue