Skip to content

Commit a5f2ff6

Browse files
rscharfegitster
authored andcommitted
pack-objects: remove duplicate --stdin-packs definition
cd846ba (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>
1 parent bb5c624 commit a5f2ff6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

builtin/pack-objects.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4925,8 +4925,6 @@ int cmd_pack_objects(int argc,
49254925
OPT_CALLBACK_F(0, "stdin-packs", &stdin_packs, N_("mode"),
49264926
N_("read packs from stdin"),
49274927
PARSE_OPT_OPTARG, parse_stdin_packs_mode),
4928-
OPT_BOOL(0, "stdin-packs", &stdin_packs,
4929-
N_("read packs from stdin")),
49304928
OPT_BOOL(0, "stdout", &pack_to_stdout,
49314929
N_("output pack to stdout")),
49324930
OPT_BOOL(0, "include-tag", &include_tag,

0 commit comments

Comments
 (0)