As the use of http-fetch without -a can create an object store that is invalid to the point where it cannot even be fsck'd, mark it as deprecated. A future release should change the default and then remove the option entirely. Signed-off-by: Ben Walton <bwalton@xxxxxxxxxxxxxxxxxx> --- http-fetch.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/http-fetch.c b/http-fetch.c index 3af4c71..003ddb7 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -56,6 +56,9 @@ int main(int argc, const char **argv) commits = 1; } + if (get_all == 0) + warning("http-fetch: use without -a is deprecated; -a will become the default in a future release"); + if (argv[arg]) str_end_url_with_slash(argv[arg], &url); -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html