1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-25 11:16:10 +02:00

show-branch: use DEFAULT_ABBREV instead of 7

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Tay Ray Chuan 2010-05-24 16:50:44 +08:00 committed by Junio C Hamano
parent e8f3016000
commit bd7440fe1b

View File

@ -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);