X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-fetch.c;h=94d47cbb287f7d3ea76b71f3ef39ddeea3b9202c;hb=50c94032844bb184cdeff7779be3b6a23e04d312;hp=3af4c71bd0fb8370c6f08b0e3d43adc722cac2f4;hpb=43176d1e4cddc4ab2f2f7dc6f3ba10513ffc2f2b;p=git.git diff --git a/http-fetch.c b/http-fetch.c index 3af4c71bd..94d47cbb2 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -56,6 +56,10 @@ int main(int argc, const char **argv) commits = 1; } + if (get_all == 0) + warning("http-fetch: use without -a is deprecated.\n" + "In a future release, -a will become the default."); + if (argv[arg]) str_end_url_with_slash(argv[arg], &url); @@ -63,7 +67,7 @@ int main(int argc, const char **argv) git_config(git_default_config, NULL); - http_init(NULL); + http_init(NULL, url, 0); walker = get_http_walker(url); walker->get_tree = get_tree; walker->get_history = get_history;