From 14e86ec37e13f6018513c630f4b8b54096e794f0 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Wed, 29 Aug 2007 14:49:47 +0200 Subject: [PATCH] Use 'pwd -W' as reference directory. git does not know about the notation /x/dir/ec/tory that MSYS uses instead of x:/dir/ec/tory; hence, when git's notion of an absolute path is compared to the shell's notion, the shell must produce the x:/ kind of path. --- t/t0001-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t0001-init.sh b/t/t0001-init.sh index b14b3ec394..ca5b631012 100755 --- a/t/t0001-init.sh +++ b/t/t0001-init.sh @@ -97,7 +97,7 @@ test_expect_success 'GIT_DIR & GIT_WORK_TREE (1)' ' mkdir git-dir-wt-1.git && GIT_WORK_TREE=$(pwd) GIT_DIR=git-dir-wt-1.git git init ) && - check_config git-dir-wt-1.git false "$(pwd)" + check_config git-dir-wt-1.git false "$(pwd -W)" ' test_expect_success 'GIT_DIR & GIT_WORK_TREE (2)' '