]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit64fe031a7a78894955af217335b46059a36a582d
treef46b38f6a560546532dc34f5769fa5a0dfbe7472
parentdd9142993c0954e2fd325431235bc7556189a01c
show-ref: fix --verify --hash=length

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>
builtin-show-ref.c