Skip to content

Commit

Permalink
peek-remote: honor proxy config even from subdirectory.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Nov 29, 2005
1 parent edf2e37 commit e44eb3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions peek-remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit e44eb3e

Please sign in to comment.