]> git.ipfire.org Git - thirdparty/git.git/commit
pack-redundant: gauge the usage before proposing its removal
authorJunio C Hamano <gitster@pobox.com>
Tue, 25 Aug 2020 22:45:52 +0000 (15:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Dec 2020 22:30:11 +0000 (14:30 -0800)
commitc3b58472be2c647cd0c5af328980b15bd3f43b69
tree129c35f4cf2e05f70f60e19021c41ed692cbd71a
parent1c52ecf4ba0f4f7af72775695fee653f50737c71
pack-redundant: gauge the usage before proposing its removal

The subcommand is unusably slow and the reason why nobody reports it
as a performance bug is suspected to be the absense of users.  Let's
show a big message that asks the user to tell us that they still
care about the command when an attempt is made to run the command,
with an escape hatch to override it with a command line option.

In a few releases, we may turn it into an error and keep it for a
few more releases before finally removing it (during the whole time,
the plan to remove it would be interrupted by end user raising hand).

Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-redundant.c
t/t5323-pack-redundant.sh