. ./test-lib.sh
-export USER=author
+export USER_EMAIL=author@example.com
test_expect_success 'setup' '
echo "setup" >a &&
git clone ./. server &&
rm -fr server/.git/hooks &&
git remote add origin ./server &&
- git config --add branch.master.remote origin &&
- git config --add branch.master.merge refs/heads/master &&
- GIT_DIR=./server/.git git config --add hooks.post-receive-email.mailinglist commits@list.com &&
- GIT_DIR=./server/.git git config --add hooks.post-receive-email.debug true &&
- GIT_DIR=. &&
+ git config branch.master.remote origin &&
+ git config branch.master.merge refs/heads/master &&
+ GIT_DIR=./server/.git git config hooks.post-receive-email.mailinglist commits@list.com &&
+ GIT_DIR=./server/.git git config hooks.post-receive-email.debug true &&
echo cbas >./server/.git/description &&
git checkout -b stable &&