]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack.c: reword comment around pack-objects flags
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Mar 2021 15:22:02 +0000 (10:22 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Mar 2021 19:33:52 +0000 (11:33 -0800)
commitccae01cab817f64a52fcb403cb355e41c2303b74
treeddcd8fb1a0a3d94343abbc5382090287ee19db72
parent2a15964128edd08278efeacc75e75c77cfdde77e
builtin/repack.c: reword comment around pack-objects flags

The comment in this block is meant to indicate that passing '--all',
'--reflog', and so on aren't necessary when repacking with the
'--geometric' option.

But, it has two problems: first, it is factually incorrect ('--all' is
*not* incompatible with '--stdin-packs' as the comment suggests);
second, it is quite focused on the geometric case for a block that is
guarding against it.

Reword this comment to address both issues.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c