projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Add documentation for git-rename-script
[git.git]
/
rsh.c
diff --git
a/rsh.c
b/rsh.c
index
5615c74
..
fe87e58
100644
(file)
--- a/
rsh.c
+++ b/
rsh.c
@@
-41,6
+41,7
@@
int setup_connection(int *fd_in, int *fd_out, const char *remote_prog,
snprintf(command, COMMAND_SIZE,
"%s='%s' %s",
GIT_DIR_ENVIRONMENT, path, remote_prog);
+ *path = '\0';
posn = command + strlen(command);
for (i = 0; i < rmt_argc; i++) {
*(posn++) = ' ';