summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77d604c)
raw | patch | inline | side by side (parent: 77d604c)
author | H. Peter Anvin <hpa@zytor.com> | |
Mon, 10 Oct 2005 21:46:12 +0000 (14:46 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 10 Oct 2005 21:46:12 +0000 (14:46 -0700) |
GIT_DIR_ENVIRONMENT is always a string literal
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rsh.c | patch | blob | history |
index bad5cff2c287d3c7dd288308428b89e0cb12299d..dde6f9ce9d77c3425de57a2fb4687ce69bf025f1 100644 (file)
--- a/rsh.c
+++ b/rsh.c
posn = command;
of = 0;
of |= add_to_string(&posn, &sizen, "env ", 0);
- of |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT, 0);
- of |= add_to_string(&posn, &sizen, "=", 0);
+ of |= add_to_string(&posn, &sizen, GIT_DIR_ENVIRONMENT "=", 0);
of |= add_to_string(&posn, &sizen, path, 1);
of |= add_to_string(&posn, &sizen, " ", 0);
of |= add_to_string(&posn, &sizen, remote_prog, 1);