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 <junkio@cox.net>
Junio C Hamano committed
Nov 25, 2005 at 23:50 UTC
e44eb3e4c74c5f6c1fca1cf92ddb454ad248c24c
1 file changed
+3
peek-remote.c
+3
@@ -27,6 +27,9 @@ int main(int argc, char **argv)
27
char *dest = NULL;
28
int fd[2];
29
pid_t pid;
30
+ int nongit = 0;
31
+
32
+ setup_git_directory_gently(&nongit);
33
34
for (i = 1; i < argc; i++) {
35
char *arg = argv[i];