show-ref: fix --verify --hash=length
authorJunio C Hamano <junkio@cox.net>
Mon, 18 Dec 2006 03:27:49 +0000 (19:27 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 18 Dec 2006 03:36:50 +0000 (19:36 -0800)
An earlier optimization for --verify broke a lot of stuff
because it did not take interaction with other flags into
account.

This also fixes an unrelated argument parsing error; --hash=8
should mean the same as "--hash --abbrev=8".

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found