Skip to content

Commit

Permalink
Merge branch 'jk/really-deprecate-pack-redundant'
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
gitster committed Apr 4, 2023
2 parents abb3b69 + 4406522 commit 5e4070e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builtin/pack-redundant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>. Thanks.\n"), stderr);
die(_("refusing to run without --i-still-use-this"));
}

if (load_all_packs)
Expand Down

0 comments on commit 5e4070e

Please sign in to comment.