git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] environment.c: add GIT_NAMESPACE to local_repo_env

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Oct 21, 2014, 00:27 UTC
Message-ID
<1413851253-22642-1-git-send-email-pclouds@gmail.com>

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
Message 1 of 1 in “environment.c: add GIT_NAMESPACE to local_repo_env”
  1. environment.c: add GIT_NAMESPACE to local_repo_envNguyễn Thái Ngọc Duy, Oct 21, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.