author | Dmitry Potapov <dpotapov@gmail.com> | |
Sun, 3 Aug 2008 14:36:18 +0000 (18:36 +0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Aug 2008 20:22:57 +0000 (13:22 -0700) | ||
commit | 81014073f22736e9dcb9370475af44e67234622f | |
tree | d29ad7f540a7644726824d4e6027e66805a7f34e | tree | snapshot |
parent | 43df4f86e035056605ceb757029181d7ddee1e7e | commit | diff |
correct argument checking test for git hash-object
Because the file name given to stdin did not exist, git hash-object
fails to open it and exits with non-zero error code.
Thus the test may pass even if there is an error in argument checking.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Because the file name given to stdin did not exist, git hash-object
fails to open it and exits with non-zero error code.
Thus the test may pass even if there is an error in argument checking.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1007-hash-object.sh | diff | blob | history |