Code

submodule add: fix breakage when re-adding a deep submodule
[git.git] / http-fetch.c
index e341872a6bcfc5730cbbfd19b97f8cf58865e403..69299b7bd2a956266bf581df9c23589a97fca805 100644 (file)
@@ -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);