git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] environment.c: add GIT_NAMESPACE to local_repo_env
@ 2014-10-21  0:27 Nguyễn Thái Ngọc Duy
  0 siblings, 0 replies; only message in thread
From: Nguyễn Thái Ngọc Duy @ 2014-10-21  0:27 UTC (permalink / raw)
  To: git; +Cc: Jens Lehmann, Nguyễn Thái Ngọc Duy

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(+)

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-21  0:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21  0:27 [PATCH] environment.c: add GIT_NAMESPACE to local_repo_env Nguyễn Thái Ngọc Duy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).