diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-04-04 14:28:29 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-04-04 14:28:29 -0700 |
| commit | 5e4070e12808441cd0a21e45e1af52a7f28ddd2e (patch) | |
| tree | e58fe19e73f456e480563071913161052a4b7637 | |
| parent | Merge branch 'jk/document-rev-list-object-name' (diff) | |
| parent | pack-redundant: escalate deprecation warning to an error (diff) | |
| download | git-5e4070e12808441cd0a21e45e1af52a7f28ddd2e.tar.gz git-5e4070e12808441cd0a21e45e1af52a7f28ddd2e.zip | |
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.c | 1 |
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) |
