Skip to content

Commit 2b26e0e

Browse files
wjlgitster
authored andcommitted
Update git fsck --full short description to mention packs
The '--full' option to git fsck does two things: 1) Check objects in packs 2) Check alternate objects This is documented in the git fsck manual; this patch reflects that in the short git fsck option help message as well. Signed-off-by: Wesley J. Landaker <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b401a12 commit 2b26e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-fsck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ static struct option fsck_opts[] = {
578578
OPT_BOOLEAN(0, "root", &show_root, "report root nodes"),
579579
OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
580580
OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
581-
OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"),
581+
OPT_BOOLEAN(0, "full", &check_full, "also consider packs and alternate objects"),
582582
OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
583583
OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
584584
"write dangling objects in .git/lost-found"),

0 commit comments

Comments
 (0)