summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8f3016)
raw | patch | inline | side by side (parent: e8f3016)
author | Tay Ray Chuan <rctay89@gmail.com> | |
Mon, 24 May 2010 08:50:44 +0000 (16:50 +0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 25 May 2010 16:48:49 +0000 (09:48 -0700) |
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/show-branch.c | patch | blob | history |
diff --git a/builtin/show-branch.c b/builtin/show-branch.c
index e20fcf3e935dfafb4e30f24990aa974c8b2f5927..e8719aa9e9f47c30b697332925fcdd206fdfd55c 100644 (file)
--- a/builtin/show-branch.c
+++ b/builtin/show-branch.c
}
else
printf("[%s] ",
- find_unique_abbrev(commit->object.sha1, 7));
+ find_unique_abbrev(commit->object.sha1,
+ DEFAULT_ABBREV));
}
puts(pretty_str);
strbuf_release(&pretty);