Code

Update git fsck --full short description to mention packs
authorWesley J. Landaker <wjl@icecavern.net>
Fri, 5 Feb 2010 19:58:50 +0000 (12:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2010 21:01:45 +0000 (13:01 -0800)
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 <wjl@icecavern.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c

index 0e5faae381ed94c26671fcae04ea96d3656d7627..0929c7f245cbe85a4a68374850871a0ffbcdeec3 100644 (file)
@@ -578,7 +578,7 @@ static struct option fsck_opts[] = {
        OPT_BOOLEAN(0, "root", &show_root, "report root nodes"),
        OPT_BOOLEAN(0, "cache", &keep_cache_objects, "make index objects head nodes"),
        OPT_BOOLEAN(0, "reflogs", &include_reflogs, "make reflogs head nodes (default)"),
-       OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"),
+       OPT_BOOLEAN(0, "full", &check_full, "also consider packs and alternate objects"),
        OPT_BOOLEAN(0, "strict", &check_strict, "enable more strict checking"),
        OPT_BOOLEAN(0, "lost-found", &write_lost_and_found,
                                "write dangling objects in .git/lost-found"),