aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/pack-redundant.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-06-25 14:07:35 -0700
committerJunio C Hamano <gitster@pobox.com>2025-06-25 14:07:35 -0700
commita5cc6a2bc526f5ffb427f8d8bb987af6e591c4e4 (patch)
treeedd79cbad2f7dd1e06ee106fae09137b9fa8c9e3 /builtin/pack-redundant.c
parentf0135a9047ca37d4d117dcf21f7e3e89fad85d00 (diff)
parente836757e14bf4fd617828d834d29e679e1f527c0 (diff)
downloadgit-a5cc6a2bc526f5ffb427f8d8bb987af6e591c4e4.tar.gz
Merge branch 'jc/you-still-use-whatchanged'
"git whatchanged" that is longer to type than "git log --raw" which is its modern rough equivalent has outlived its usefulness more than 10 years ago. Plan to deprecate and remove it. * jc/you-still-use-whatchanged: whatschanged: list it in BreakingChanges document whatchanged: remove when built with WITH_BREAKING_CHANGES whatchanged: require --i-still-use-this tests: prepare for a world without whatchanged doc: prepare for a world without whatchanged you-still-use-that??: help deprecating commands for removal
Diffstat (limited to 'builtin/pack-redundant.c')
-rw-r--r--builtin/pack-redundant.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c
index 5d1fc78176..4138b52ccc 100644
--- a/builtin/pack-redundant.c
+++ b/builtin/pack-redundant.c
@@ -625,14 +625,8 @@ int cmd_pack_redundant(int argc, const char **argv, const char *prefix UNUSED, s
break;
}
- if (!i_still_use_this) {
- fputs(_("'git pack-redundant' is nominated for removal.\n"
- "If you still use this command, please add an extra\n"
- "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 (!i_still_use_this)
+ you_still_use_that("git pack-redundant");
if (load_all_packs)
load_all();