Skip to content

Commit 4397c65

Browse files
sschuberthgitster
authored andcommitted
t9200: On MSYS, do not pass Windows-style paths to CVS
For details, see the commit message of 4114156. Note that while using $PWD as part of GIT_DIR is not required here, it does no harm and it is more consistent. In addition, on MSYS using an environment variable should be slightly faster than spawning an external executable. Signed-off-by: Sebastian Schuberth <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent be4d292 commit 4397c65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t9200-git-cvsexportcommit.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ then
1919
test_done
2020
fi
2121

22-
CVSROOT=$(pwd)/cvsroot
23-
CVSWORK=$(pwd)/cvswork
24-
GIT_DIR=$(pwd)/.git
22+
CVSROOT=$PWD/cvsroot
23+
CVSWORK=$PWD/cvswork
24+
GIT_DIR=$PWD/.git
2525
export CVSROOT CVSWORK GIT_DIR
2626

2727
rm -rf "$CVSROOT" "$CVSWORK"

0 commit comments

Comments
 (0)