t5547-push-quarantine: run the path separator test on Windows, too
commiteaa76de0dff57f13a6fb7f791f3a486a407f5c27
authorJohannes Sixt <j6t@kdbg.org>
Tue, 13 Dec 2016 19:09:31 +0000 (13 20:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Dec 2016 19:15:10 +0000 (13 11:15 -0800)
tree0acce388950f862d8bdd5c363fd2db490bfe2660
parentaae2ae4f74f91f434f7f5c3ac25f37d80a9b319e
t5547-push-quarantine: run the path separator test on Windows, too

To perform the test case on Windows in a way that corresponds to the
POSIX version, inject the semicolon in a directory name.

Typically, an absolute POSIX style path, such as the one in $PWD, is
translated into a Windows style path by bash when it invokes git.exe.
However, the presence of the semicolon suppresses this translation;
but the untranslated POSIX style path is useless for git.exe.
Therefore, instead of $PWD pass the Windows style path that $(pwd)
produces.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5547-push-quarantine.sh