aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-03-13 21:31:42 -0800
committerJunio C Hamano <gitster@pobox.com>2010-03-13 21:31:42 -0800
commit3a27f415dfa46bd9e5b693abcac708903d3134f4 (patch)
tree3abc27796e0476ae55deb26617e6587d49ca842a /builtin
parent19a64770435c72721dece82c52468f70745e9a95 (diff)
parent8fcaca3ff29a193f50a44bb3d5734a503e0539a6 (diff)
downloadgit-3a27f415dfa46bd9e5b693abcac708903d3134f4.tar.gz
git-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')
-rw-r--r--builtin/blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/blame.c b/builtin/blame.c
index 10f7eacf6..fc1586350 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;
}