aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2015-02-08 06:08:58 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2015-02-08 06:17:43 +0530
commitb6050a818ecfd394d8e02b81c8bab266f3d44cbc (patch)
tree8855aafaf625fbc3b2d104dc5fb5699669c50b12
parentsshkeys-lint: refactor keytype and accept ed25519 (diff)
downloadgitolite-gentoo-b6050a818ecfd394d8e02b81c8bab266f3d44cbc.tar.gz
gitolite-gentoo-b6050a818ecfd394d8e02b81c8bab266f3d44cbc.tar.bz2
gitolite-gentoo-b6050a818ecfd394d8e02b81c8bab266f3d44cbc.zip
test suite: write user.* settings to ~/.gitconfig.local...
...instead of ~/.gitconfig, and add an include.path in it
-rw-r--r--src/lib/Gitolite/Test.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Gitolite/Test.pm b/src/lib/Gitolite/Test.pm
index 291eace..904abbf 100644
--- a/src/lib/Gitolite/Test.pm
+++ b/src/lib/Gitolite/Test.pm
@@ -63,8 +63,9 @@ try "
ln -sf $ENV{PWD}/t/glt ~/bin
./install -ln
cd; rm -vrf .gito* repositories
- git config --global user.name \"gitolite tester\"
- git config --global user.email \"tester\@example.com\"
+ git config --file $ENV{HOME}/.gitconfig.local user.name \"gitolite tester\"
+ git config --file $ENV{HOME}/.gitconfig.local user.email \"tester\@example.com\"
+ git config --global include.path \"~/.gitconfig.local\"
# setup
gitolite setup -a admin