Skip to content

Commit

Permalink
t9200: On MSYS, do not pass Windows-style paths to CVS
Browse files Browse the repository at this point in the history
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 <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
sschuberth authored and gitster committed Jan 12, 2012
1 parent be4d292 commit 4397c65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/t9200-git-cvsexportcommit.sh
Expand Up @@ -19,9 +19,9 @@ then
test_done
fi

CVSROOT=$(pwd)/cvsroot
CVSWORK=$(pwd)/cvswork
GIT_DIR=$(pwd)/.git
CVSROOT=$PWD/cvsroot
CVSWORK=$PWD/cvswork
GIT_DIR=$PWD/.git
export CVSROOT CVSWORK GIT_DIR

rm -rf "$CVSROOT" "$CVSWORK"
Expand Down

0 comments on commit 4397c65

Please sign in to comment.