Skip to contentSkip to conversation

environment.c: add GIT_NAMESPACE to local_repo_env

PATCH New Nguyễn Thái Ngọc Duy 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 environment.c: add GIT_NAMESPACE to local_repo_env

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.

---
.. looks like the right thing to do..

 environment.c | 1 +
 1 file changed, 1 insertion(+)
environment.c +1 -0
index 565f652..16628d3 100644
@@ -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
 };
 
Signature · 1 line
2.0.2.841.g8f98430