Thread (10 messages) flat view 10 messages, 5 authors, 2016-06-15

Re: [PATCH 2/1] do not pass "git -c foo=bar" params to transport helpers

From: Jeff King <hidden>
Date: 2016-06-15 22:49:22

On Tue, Aug 24, 2010 at 01:41:14AM -0500, Jonathan Nieder wrote:
Like $GIT_CONFIG, $GIT_CONFIG_PARAMETERS needs to be suppressed by
"git push" and its cousins when running local transport helpers to
imitate remote transport well.
Thanks, this looks good to me.

Though arguably these bits:
+#define CONFIG_DATA_ENVIRONMENT "GIT_CONFIG_PARAMETERS"
[...]
-	const char *old = getenv("GIT_CONFIG_PARAMETERS");
+	const char *old = getenv(CONFIG_DATA_ENVIRONMENT);
Should be squashed into the original patch. :)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help