author | Christian Couder <chriscool@tuxfamily.org> | |
Sat, 26 Apr 2008 11:57:23 +0000 (13:57 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 27 Apr 2008 06:22:17 +0000 (23:22 -0700) | ||
commit | b1b359699a24a89f773cccdf35801bc6fc15ade8 | |
tree | f9205eca69ab884a83345cd9ac7eb2f3432198aa | tree | snapshot |
parent | 36c79d2bf893b9957688a6c8c13cc0bf0589e596 | commit | diff |
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>
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 | diff | blob | history | |
builtin-rev-parse.c | diff | blob | history |