Merge branch 'az/instaweb-py3-http-server'
[gitweb.git] / t / t0061-run-command.sh
index 99a614bc7c45ca792c7bbce7d16f793ab6107896..9c7604dcabec86776c3bb25598e39dac79118765 100755 (executable)
@@ -199,4 +199,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