summaryrefslogtreecommitdiff
path: root/t/t3505-cherry-pick-empty.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-03-23 11:55:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-23 10:02:46 -0700
commit45bf32971c067a542024a1b5f47fc26237baa713 (patch)
tree17005cad26156894506bb41cadc32faa31fd44f8 /t/t3505-cherry-pick-empty.sh
parentt1300-repo-config: make it resilient to being run via 'sh -x' (diff)
downloadtgif-45bf32971c067a542024a1b5f47fc26237baa713.tar.xz
t1300: fix the new --show-origin tests on Windows
On Windows, we have that funny situation where the test script can refer to POSIX paths because it runs in a shell that uses a POSIX emulation layer ("MSYS2 runtime"). Yet, git.exe does *not* understand POSIX paths at all but only pure Windows paths. So let's just convert the POSIX paths to Windows paths before passing them on to Git, using `pwd` (which is already modified on Windows to output Windows paths). While fixing the new tests on Windows, we also have to exclude the tests that want to write a file with a name that is illegal on Windows (unfortunately, there is more than one test trying to make use of that file). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3505-cherry-pick-empty.sh')
0 files changed, 0 insertions, 0 deletions