We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5adb572 commit 69b3138Copy full SHA for 69b3138
t/t1501-worktree.sh
@@ -339,6 +339,10 @@ test_expect_success 'make_relative_path handles double slashes in GIT_DIR' '
339
git --git-dir="$(pwd)//repo.git" --work-tree="$(pwd)" add dummy_file
340
'
341
342
+test_have_prereq MINGW &&
343
+# make sure to test DOS path on Windows
344
+TRASH_DIRECTORY="$(cd "$TRASH_DIRECTORY" && pwd)"
345
+
346
test_expect_success 'relative $GIT_WORK_TREE and git subprocesses' '
347
GIT_DIR=repo.git GIT_WORK_TREE=repo.git/work \
348
test-subprocess --setup-work-tree rev-parse --show-toplevel >actual &&
0 commit comments