diff options
Diffstat (limited to 'http-fetch.c')
-rw-r--r-- | http-fetch.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/http-fetch.c b/http-fetch.c index 31bc5c7767..bec94988bb 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -1,10 +1,14 @@ -#include "cache.h" +#include "git-compat-util.h" #include "config.h" -#include "exec-cmd.h" +#include "gettext.h" +#include "hex.h" #include "http.h" #include "walker.h" +#include "setup.h" #include "strvec.h" +#include "url.h" #include "urlmatch.h" +#include "trace2.h" static const char http_fetch_usage[] = "git http-fetch " "[-c] [-t] [-a] [-v] [--recover] [-w ref] [--stdin | --packfile=hash | commit-id] url"; @@ -137,6 +141,8 @@ int cmd_main(int argc, const char **argv) if (nongit) die(_("not a git repository")); + trace2_cmd_name("http-fetch"); + git_config(git_default_config, NULL); if (packfile) { |