mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
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
This commit is contained in:
commit
5e4070e128
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
"option, '--i-still-use-this', on the command line\n"
|
||||||
"and let us know you still use it by sending an e-mail\n"
|
"and let us know you still use it by sending an e-mail\n"
|
||||||
"to <git@vger.kernel.org>. Thanks.\n"), stderr);
|
"to <git@vger.kernel.org>. Thanks.\n"), stderr);
|
||||||
|
die(_("refusing to run without --i-still-use-this"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (load_all_packs)
|
if (load_all_packs)
|
||||||
|
|
Loading…
Reference in a new issue