summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-24 06:41:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-24 16:54:00 (GMT)
commit655e8d9c92121b1d84fda91b73c4a0daa638cbf8 (patch)
tree689f9e6c69b512e7391c21aa0f853bc04d9f8b2a /cache.h
parent2b64fc894dada0916558fd0bfd19c50631f978cb (diff)
downloadgit-655e8d9c92121b1d84fda91b73c4a0daa638cbf8.zip
git-655e8d9c92121b1d84fda91b73c4a0daa638cbf8.tar.gz
git-655e8d9c92121b1d84fda91b73c4a0daa638cbf8.tar.bz2
do not pass "git -c foo=bar" params to transport helpers
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. Noticed-by: Jeff King <peff@peff.net> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index 63910b5..016cbe9 100644
--- a/cache.h
+++ b/cache.h
@@ -398,7 +398,7 @@ static inline enum object_type object_type(unsigned int mode)
* environment creation or simple walk of the list.
* The number of non-NULL entries is available as a macro.
*/
-#define LOCAL_REPO_ENV_SIZE 8
+#define LOCAL_REPO_ENV_SIZE 9
extern const char *const local_repo_env[LOCAL_REPO_ENV_SIZE + 1];
extern int is_bare_repository_cfg;