From: Tay Ray Chuan Date: Mon, 24 May 2010 08:50:44 +0000 (+0800) Subject: show-branch: use DEFAULT_ABBREV instead of 7 X-Git-Tag: v1.7.2-rc0~3^2~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd7440fe1b22ff47daba1990653994e8a7128054;p=git.git show-branch: use DEFAULT_ABBREV instead of 7 Signed-off-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- diff --git a/builtin/show-branch.c b/builtin/show-branch.c index e20fcf3e9..e8719aa9e 100644 --- a/builtin/show-branch.c +++ b/builtin/show-branch.c @@ -313,7 +313,8 @@ static void show_one_commit(struct commit *commit, int no_name) } else printf("[%s] ", - find_unique_abbrev(commit->object.sha1, 7)); + find_unique_abbrev(commit->object.sha1, + DEFAULT_ABBREV)); } puts(pretty_str); strbuf_release(&pretty);