summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be4d292)
raw | patch | inline | side by side (parent: be4d292)
author | Sebastian Schuberth <sschuberth@gmail.com> | |
Wed, 11 Jan 2012 09:20:14 +0000 (10:20 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Jan 2012 02:02:55 +0000 (18:02 -0800) |
For details, see the commit message of 4114156ae9. 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>
$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>
t/t9200-git-cvsexportcommit.sh | patch | blob | history |
index 41db05cb4af6f42ef3065ba0576d8cfa3509c0ca..518358aa64790bd65d0b46789dfdaa80285863ed 100755 (executable)
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"