Code

show-ref --hash=len, --abbrev=len, and --abbrev
authorJunio C Hamano <junkio@cox.net>
Sun, 1 Oct 2006 07:27:27 +0000 (00:27 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 1 Oct 2006 07:32:44 +0000 (00:32 -0700)
commit2eaf22242f61b13c38c87cbb0e84c84974c52d66
treeb3823499be0f19a8ec82b5295ab73800cd4da60d
parent936a9508cc0d5369b00c76ee63cdb81556e7be39
show-ref --hash=len, --abbrev=len, and --abbrev

This teaches show-ref to abbreviate the object name.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-show-ref.txt
builtin-show-ref.c