rev-parse: teach "--verify" to be quiet when using "-q" or "--quiet"
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 26 Apr 2008 11:57:23 +0000 (13:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Apr 2008 06:22:17 +0000 (23:22 -0700)
commitb1b359699a24a89f773cccdf35801bc6fc15ade8
treef9205eca69ab884a83345cd9ac7eb2f3432198aa
parent36c79d2bf893b9957688a6c8c13cc0bf0589e596
rev-parse: teach "--verify" to be quiet when using "-q" or "--quiet"

Currently "git rev-parse --verify <something>" is often used with
its error output redirected to /dev/null. This patch makes it
easier to do that.

The -q|--quiet option is designed to work the same way as it does
for "git symbolic-ref".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-parse.txt
builtin-rev-parse.c