diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-28 21:15:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-28 21:15:34 -0700 |
commit | d39753c23824f0c384a7932f3772f0ddc25010f7 (patch) | |
tree | fc96944ad12770856a766c59d010f5c755717020 /http-fetch.c | |
parent | cfd2f0f5580a5524707693d4d055b18b519a325c (diff) | |
parent | a6c786fce8da4143ea8bb3ab41ce8531192c5126 (diff) | |
download | git-d39753c23824f0c384a7932f3772f0ddc25010f7.tar.gz |
Merge branch 'bw/doc-repo-layout'
* bw/doc-repo-layout:
Mark http-fetch without -a as deprecated
Documentation: Grammar correction, wording fixes and cleanup
Diffstat (limited to 'http-fetch.c')
-rw-r--r-- | http-fetch.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/http-fetch.c b/http-fetch.c index 3af4c71bd0..8c4c5d2224 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); |