Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-05 00:28:29 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-05 00:28:29 +0300
commit5e4070e12808441cd0a21e45e1af52a7f28ddd2e (patch)
treee58fe19e73f456e480563071913161052a4b7637 /builtin
parentabb3b692a4aaa2b9a34e32f171aa7d829d3d26b9 (diff)
parent4406522b76138c2bd3d110ac9de0d860ba2be5ed (diff)
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
Diffstat (limited to 'builtin')
-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 82115c5808..5e93d87320 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)