提交 bd7440fe 编写于 作者: T Tay Ray Chuan 提交者: Junio C Hamano

show-branch: use DEFAULT_ABBREV instead of 7

Signed-off-by: NTay Ray Chuan <rctay89@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 e8f30160
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册