提交 c6d4217e 编写于 作者: L Luck, Tony 提交者: Junio C Hamano

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: NTony Luck <tony.luck@intel.com>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 ce4c8b24
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册