aboutsummaryrefslogtreecommitdiff
path: root/http-fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-11-10 11:10:14 -0800
committerJunio C Hamano <gitster@pobox.com>2009-11-10 11:10:14 -0800
commit1a507b9cf75bcb2de2391c584539e0ff202549bf (patch)
tree50013deffff4af5b2bade8332d1294f1c4ddbcd8 /http-fetch.c
parent4751f11224600ab25adb0a200fec55a734bc2936 (diff)
parentf01d74960363736caaf4d98d39555e99bdc72c25 (diff)
downloadgit-1a507b9cf75bcb2de2391c584539e0ff202549bf.tar.gz
git-1a507b9cf75bcb2de2391c584539e0ff202549bf.tar.xz
Merge branch 'jn/maint-http-fetch-mingw' into jn/help-everywhere
* jn/maint-http-fetch-mingw: http-fetch: add missing initialization of argv0_path merge: do not setup worktree twice check-ref-format: update usage string Conflicts: builtin-check-ref-format.c
Diffstat (limited to 'http-fetch.c')
-rw-r--r--http-fetch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/http-fetch.c b/http-fetch.c
index e8f44babd..88f7dc884 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -1,4 +1,5 @@
#include "cache.h"
+#include "exec_cmd.h"
#include "walker.h"
int main(int argc, const char **argv)
@@ -19,8 +20,8 @@ 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] == '-') {