changeset 23693:9a02f7517939

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.
author Matt Mackall <mpm@selenic.com>
date Tue, 30 Dec 2014 15:51:14 -0600
parents f78192115229
children fe17a6fb220d
files tests/test-subrepo-git.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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