aboutsummaryrefslogtreecommitdiff
path: root/builtin/pack-objects.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2026-02-27 20:27:00 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-27 11:38:25 -0800
commita5f2ff6ce87b1a07953461536f2b0c22631c94ba (patch)
tree4c5ac5ce0e2a67c0d31afba51c8d168be5a56fbb /builtin/pack-objects.c
parentbb5c624209fcaebd60b9572b2cc8c61086e39b57 (diff)
downloadgit-a5f2ff6ce87b1a07953461536f2b0c22631c94ba.tar.xz
pack-objects: remove duplicate --stdin-packs definition
cd846bacc7 (pack-objects: introduce '--stdin-packs=follow', 2025-06-23) added a new definition of the option --stdin-packs that accepts an argument. It kept the old definition, which still shows up in the short help, but is shadowed by the new one. Remove it. Hinted-at-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r--builtin/pack-objects.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index ff6900b654..8849cb1948 100644
--- a/builtin/pack-objects.c
+++ b/builtin/pack-objects.c
@@ -4925,8 +4925,6 @@ int cmd_pack_objects(int argc,
OPT_CALLBACK_F(0, "stdin-packs", &stdin_packs, N_("mode"),
N_("read packs from stdin"),
PARSE_OPT_OPTARG, parse_stdin_packs_mode),
- OPT_BOOL(0, "stdin-packs", &stdin_packs,
- N_("read packs from stdin")),
OPT_BOOL(0, "stdout", &pack_to_stdout,
N_("output pack to stdout")),
OPT_BOOL(0, "include-tag", &include_tag,