replace: use a GIT_NO_REPLACE_OBJECTS env variable
[gitweb.git] / connect.c
index 7945e38ac1c99c09f7975ae99767bc9747ac3740..c4f134f07aa44d6b2133c805f668b2e4e89bb6a8 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -630,6 +630,7 @@ struct child_process *git_connect(int fd[2], const char *url_orig,
                        GIT_WORK_TREE_ENVIRONMENT,
                        GRAFT_ENVIRONMENT,
                        INDEX_ENVIRONMENT,
+                       NO_REPLACE_OBJECTS_ENVIRONMENT,
                        NULL
                };
                conn->env = env;