summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6f7c86d)
raw | patch | inline | side by side (parent: 6f7c86d)
author | Eric Wong <normalperson@yhbt.net> | |
Thu, 28 Dec 2006 09:10:52 +0000 (01:10 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 28 Dec 2006 09:28:14 +0000 (01:28 -0800) |
Also, fixed an unportable use of 'export'.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t9200-git-cvsexportcommit.sh | patch | blob | history |
index ca0513b1621961f5fd9e589fc62820d42299eccc..315119abff31bfe7cdb85e0d7f2d29f5cf89a8b5 100755 (executable)
exit
fi
-export CVSROOT=$(pwd)/cvsroot
-export CVSWORK=$(pwd)/cvswork
+CVSROOT=$(pwd)/cvsroot
+CVSWORK=$(pwd)/cvswork
+GIT_DIR=$(pwd)/.git
+export CVSROOT CVSWORK GIT_DIR
+
rm -rf "$CVSROOT" "$CVSWORK"
mkdir "$CVSROOT" &&
cvs init &&
cvs -Q co -d "$CVSWORK" . &&
-export GIT_DIR=$(pwd)/.git &&
echo >empty &&
git add empty &&
-git commit -a -m "Initial" 2>/dev/null ||
+git commit -q -a -m "Initial" 2>/dev/null ||
exit 1
test_expect_success \