Merge branch 'tr/maint-t3903-misquoted-command'
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2011 20:18:39 +0000 (13:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Sep 2011 20:18:39 +0000 (13:18 -0700)
* tr/maint-t3903-misquoted-command:
t3903: fix misquoted rev-parse invocation

t/t3903-stash.sh
index 7197aae1ed10add49aa72748188fecb4c2ef90a4..fcdb18217a777f5dbb77b0071af7159c6985656d 100755 (executable)
@@ -542,7 +542,7 @@ test_expect_success 'ref with non-existent reflog' '
        echo bar6 > file2 &&
        git add file2 &&
        git stash &&
-       ! "git rev-parse --quiet --verify does-not-exist" &&
+       test_must_fail git rev-parse --quiet --verify does-not-exist &&
        test_must_fail git stash drop does-not-exist &&
        test_must_fail git stash drop does-not-exist@{0} &&
        test_must_fail git stash pop does-not-exist &&