add: error appropriately on repository with no commits
[gitweb.git] / t / t0061-run-command.sh
index 5a2d087bf094e4af12b600c74a4f2cef0dc3a018..ebc49561acc08e916b2ab78cd84e6729c65f5803 100755 (executable)
@@ -200,4 +200,14 @@ test_expect_success 'GIT_TRACE with environment variables' '
        )
 '
 
+test_expect_success MINGW 'verify curlies are quoted properly' '
+       : force the rev-parse through the MSYS2 Bash &&
+       git -c alias.r="!git rev-parse" r -- a{b}c >actual &&
+       cat >expect <<-\EOF &&
+       --
+       a{b}c
+       EOF
+       test_cmp expect actual
+'
+
 test_done