t9200-git-cvsexportcommit.sh: quiet down commit
Also, fixed an unportable use of 'export'. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
6f7c86df7a
commit
e32139aa0e
@@ -14,16 +14,18 @@ then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export CVSROOT=$(pwd)/cvsroot
|
CVSROOT=$(pwd)/cvsroot
|
||||||
export CVSWORK=$(pwd)/cvswork
|
CVSWORK=$(pwd)/cvswork
|
||||||
|
GIT_DIR=$(pwd)/.git
|
||||||
|
export CVSROOT CVSWORK GIT_DIR
|
||||||
|
|
||||||
rm -rf "$CVSROOT" "$CVSWORK"
|
rm -rf "$CVSROOT" "$CVSWORK"
|
||||||
mkdir "$CVSROOT" &&
|
mkdir "$CVSROOT" &&
|
||||||
cvs init &&
|
cvs init &&
|
||||||
cvs -Q co -d "$CVSWORK" . &&
|
cvs -Q co -d "$CVSWORK" . &&
|
||||||
export GIT_DIR=$(pwd)/.git &&
|
|
||||||
echo >empty &&
|
echo >empty &&
|
||||||
git add empty &&
|
git add empty &&
|
||||||
git commit -a -m "Initial" 2>/dev/null ||
|
git commit -q -a -m "Initial" 2>/dev/null ||
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success \
|
||||||
|
|||||||
Reference in New Issue
Block a user