From: Junio C Hamano Date: Sat, 26 Nov 2005 07:50:21 +0000 (-0800) Subject: peek-remote: honor proxy config even from subdirectory. X-Git-Tag: v0.99.9l^2~23^2~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e44eb3e4c74c5f6c1fca1cf92ddb454ad248c24c;p=git.git peek-remote: honor proxy config even from subdirectory. Use setup_git_directory_gently() at the beginning of peek-remote so that git:// proxy can be picked up from the configuration file. Signed-off-by: Junio C Hamano --- diff --git a/peek-remote.c b/peek-remote.c index ee49bf3b7..a90cf2206 100644 --- a/peek-remote.c +++ b/peek-remote.c @@ -27,6 +27,9 @@ int main(int argc, char **argv) char *dest = NULL; int fd[2]; pid_t pid; + int nongit = 0; + + setup_git_directory_gently(&nongit); for (i = 1; i < argc; i++) { char *arg = argv[i];