Skip to content

Commit

Permalink
t9200-git-cvsexportcommit.sh: quiet down commit
Browse files Browse the repository at this point in the history
Also, fixed an unportable use of 'export'.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Dec 28, 2006
1 parent 6f7c86d commit e32139a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions t/t9200-git-cvsexportcommit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ then
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 \
Expand Down

0 comments on commit e32139a

Please sign in to comment.