rev-parse: add test script for "--verify"
commit921df15f1d276bdecb7c4e134dff97f4e3adf953
authorChristian Couder <chriscool@tuxfamily.org>
Sun, 11 May 2008 16:27:10 +0000 (11 18:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 11 May 2008 18:35:42 +0000 (11 11:35 -0700)
tree7410ebe0659d9f45c24792e6015192112fbce46d
parent4be403815321976bc2ee4c6677799abb06b153aa
rev-parse: add test script for "--verify"

This patch documents the current behavior of "git rev-parse --verify".

This command is tested both with and without the "--quiet" and
"--default" options.

This shows some problems with the current behavior that will be fixed
in latter patches:

- in case of errors, there should be no good rev output on
stdout,
- with "--default" one test case is broken

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1503-rev-parse-verify.sh [new file with mode: 0755]