This environment variable is added in a1bea2c (ref namespaces: infrastructure - 2011-07-05). This is clearly repo specific setting and should not be propagated to subprograms.
In practice, this is not a problem because GIT_NAMESPACE seems designed for use on the server side and while submodule traversal stuff happens on the client side.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> --- .. looks like the right thing to do..
environment.c | 1 + 1 file changed, 1 insertion(+)
Show changes to environment.c +1 −0
diff --git a/environment.c b/environment.c index 565f652..16628d3 100644 --- a/environment.c +++ b/environment.c @@ -100,6 +100,7 @@ const char * const local_repo_env[] = { NO_REPLACE_OBJECTS_ENVIRONMENT, GIT_PREFIX_ENVIRONMENT, GIT_SHALLOW_FILE_ENVIRONMENT, + GIT_NAMESPACE_ENVIRONMENT, NULL };
-- 2.0.2.841.g8f98430