X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fshow-branch.c;h=e8719aa9e9f47c30b697332925fcdd206fdfd55c;hb=5df16453d4da41e5a36de536acf9acc8aab98041;hp=e20fcf3e935dfafb4e30f24990aa974c8b2f5927;hpb=f9a518e884b62a76dde3b30aa5d0ac22381f47a8;p=git.git 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);