Merge branch 'ep/use-git-trace-curl-in-tests' into maint
[gitweb.git] / submodule.c
index 1b5cdfb7e784d646c15e59afb2fb43587a8ff8e9..e8258f061ac5726d8001a5b207886b3191745eaa 100644 (file)
@@ -1160,4 +1160,5 @@ void prepare_submodule_repo_env(struct argv_array *out)
                if (strcmp(*var, CONFIG_DATA_ENVIRONMENT))
                        argv_array_push(out, *var);
        }
+       argv_array_push(out, "GIT_DIR=.git");
 }