summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d629c40)
raw | patch | inline | side by side (parent: d629c40)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Mon, 9 Nov 2009 15:05:00 +0000 (09:05 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 Nov 2009 19:02:27 +0000 (11:02 -0800) |
According to c6dfb39 (remote-curl: add missing initialization of
argv0_path, 2009-10-13), programs with "main" must call this to
work correctly on MinGW.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
argv0_path, 2009-10-13), programs with "main" must call this to
work correctly on MinGW.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-fetch.c | patch | blob | history |
diff --git a/http-fetch.c b/http-fetch.c
index e8f44babd9d3a1cd86eba659b054aed6ac2c792a..88f7dc8845face548d973e46c9da052b057ea778 100644 (file)
--- a/http-fetch.c
+++ b/http-fetch.c
#include "cache.h"
+#include "exec_cmd.h"
#include "walker.h"
int main(int argc, const char **argv)
int get_verbosely = 0;
int get_recover = 0;
+ git_extract_argv0_path(argv[0]);
prefix = setup_git_directory();
-
git_config(git_default_config, NULL);
while (arg < argc && argv[arg][0] == '-') {