]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/pack-redundant: remove subcommand with breaking changes
authorPatrick Steinhardt <ps@pks.im>
Wed, 22 Jan 2025 11:31:32 +0000 (12:31 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jan 2025 20:34:05 +0000 (12:34 -0800)
commit68f51871df87d82a504cbcca3230aba570719ba6
treec97dd1fc78977666ca5977cc73a3b1555d0b72c9
parent4b5073c64b6e4180dcf1bed09c6fdd52cd1b2d21
builtin/pack-redundant: remove subcommand with breaking changes

The git-pack-redundant(1) subcommand has been castrated to require
the "--i-still-use-this" option to do anything since 4406522b
(pack-redundant: escalate deprecation warning to an error,
2023-03-23), which appeared in Git 2.41 and was announced for
removal with 53a92c9552 (Documentation/BreakingChanges: announce
removal of git-pack-redundant(1), 2024-09-02). Stop compiling the
subcommand in case the `WITH_BREAKING_CHANGES` build flag is set.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
git.c
t/t5323-pack-redundant.sh