summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-04 21:28:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-04-04 21:28:29 (GMT)
commit5e4070e12808441cd0a21e45e1af52a7f28ddd2e (patch)
treee58fe19e73f456e480563071913161052a4b7637
parentabb3b692a4aaa2b9a34e32f171aa7d829d3d26b9 (diff)
parent4406522b76138c2bd3d110ac9de0d860ba2be5ed (diff)
downloadgit-5e4070e12808441cd0a21e45e1af52a7f28ddd2e.zip
git-5e4070e12808441cd0a21e45e1af52a7f28ddd2e.tar.gz
git-5e4070e12808441cd0a21e45e1af52a7f28ddd2e.tar.bz2
Merge branch 'jk/really-deprecate-pack-redundant'
"git pack-redundant" gave a warning when run, as the command has outlived its usefulness long ago and is nominated for future removal. Now we escalate to give an error. * jk/really-deprecate-pack-redundant: pack-redundant: escalate deprecation warning to an error
-rw-r--r--builtin/pack-redundant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c
index 82115c5..5e93d87 100644
--- a/builtin/pack-redundant.c
+++ b/builtin/pack-redundant.c
@@ -604,6 +604,7 @@ int cmd_pack_redundant(int argc, const char **argv, const char *prefix)
"option, '--i-still-use-this', on the command line\n"
"and let us know you still use it by sending an e-mail\n"
"to <git@vger.kernel.org>. Thanks.\n"), stderr);
+ die(_("refusing to run without --i-still-use-this"));
}
if (load_all_packs)