mirror of
https://github.com/git-for-windows/git.git
synced 2026-04-30 17:30:36 -05:00
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>
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user