test-subrepo-git: ignore global git config
authorMatt Mackall <mpm@selenic.com>
Tue, 30 Dec 2014 15:51:14 -0600
changeset 23693 9a02f7517939
parent 23692 f78192115229
child 23699 fe17a6fb220d
test-subrepo-git: ignore global git config This was causing a test failure for people with company-wide settings. Still need a way to ignore local config.
tests/test-subrepo-git.t
--- a/tests/test-subrepo-git.t	Fri Nov 21 16:02:26 2014 -0800
+++ b/tests/test-subrepo-git.t	Tue Dec 30 15:51:14 2014 -0600
@@ -10,6 +10,7 @@
   $ GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"; export GIT_COMMITTER_NAME
   $ GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"; export GIT_COMMITTER_EMAIL
   $ GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"; export GIT_COMMITTER_DATE
+  $ GIT_CONFIG_NOSYSTEM=1; export GIT_CONFIG_NOSYSTEM
 
 root hg repo