summaryrefslogtreecommitdiff
path: root/builtin/blame.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-03-13 21:31:42 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-13 21:31:42 -0800
commit3a27f415dfa46bd9e5b693abcac708903d3134f4 (patch)
tree3abc27796e0476ae55deb26617e6587d49ca842a /builtin/blame.c
parentMerge git://git.bogomips.org/git-svn (diff)
parentdon't use default revision if a rev was specified (diff)
downloadtgif-3a27f415dfa46bd9e5b693abcac708903d3134f4.tar.xz
Merge branch 'maint'
* maint: don't use default revision if a rev was specified for_each_recent_reflog_ent(): use strbuf, fix offset handling t/Makefile: remove test artifacts upon "make clean" blame: fix indent of line numbers
Diffstat (limited to 'builtin/blame.c')
-rw-r--r--builtin/blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index 10f7eacf6e..fc1586350f 100644
--- a/builtin/blame.c
+++ b/builtin/blame.c
@@ -1772,7 +1772,7 @@ static int lineno_width(int lines)
{
int i, width;
- for (width = 1, i = 10; i <= lines + 1; width++)
+ for (width = 1, i = 10; i <= lines; width++)
i *= 10;
return width;
}