aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-03 22:29:17 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-03 22:29:17 -0800
commit8bc63c9ad43a2d5aa033341c60bdef717f704f65 (patch)
treef002f09a62f033ffbdc5f342e63694d0021e2c23
parentcdb6760e6f4ba956604d715df191b6f442238d5d (diff)
parentc6d4217ebc15aea283050d816f3c616eebb9f477 (diff)
downloadgit-8bc63c9ad43a2d5aa033341c60bdef717f704f65.tar.gz
git-8bc63c9ad43a2d5aa033341c60bdef717f704f65.tar.xz
Merge branch 'tl/anno'
* tl/anno: annotate should number lines starting with 1
-rwxr-xr-xgit-annotate.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annotate.perl b/git-annotate.perl
index 08d479f4b..d93ee19c7 100755
--- a/git-annotate.perl
+++ b/git-annotate.perl
@@ -128,7 +128,7 @@ foreach my $l (@filelines) {
}
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 {