X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-fetch.c;h=8c4c5d2224a2493a648e6a34257bc150f2712dd0;hb=487da9cdf4fc4e3735cede5a31c2ac7be18b50b2;hp=3af4c71bd0fb8370c6f08b0e3d43adc722cac2f4;hpb=69d61daec7a7915f6a664f32002fd9403e7f2a34;p=git.git diff --git a/http-fetch.c b/http-fetch.c index 3af4c71bd..8c4c5d222 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);