Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit-tree: remove unused #define
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index 839a1037057d5224b4d35e0065168283d29f4cb2..3a125621465a68a267d08f74d842238a078c51b2 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-609,11
+609,11
@@
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;
- *arg++ = "sh";
- *arg++ = "-c";
+ conn->use_shell = 1;
}
*arg++ = cmd.buf;
*arg = NULL;