summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce4c8b2)
raw | patch | inline | side by side (parent: ce4c8b2)
author | Luck, Tony <tony.luck@intel.com> | |
Thu, 2 Mar 2006 23:27:31 +0000 (15:27 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Mar 2006 23:09:04 +0000 (15:09 -0800) |
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>
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>
git-annotate.perl | patch | blob | history |
diff --git a/git-annotate.perl b/git-annotate.perl
index 08d479f4b9b0d4911543ce35714bef13adbb8d20..d93ee19c7e7ff42762071c9df6f31da5dfa0fe80 100755 (executable)
--- a/git-annotate.perl
+++ b/git-annotate.perl
}
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 {