{"thread":{"id":"22535","subject":"[PATCH (resend)] Update git fsck --full short description to mention packs","startedAt":"2010-02-05T19:58:50Z","lastAt":"2010-02-05T19:58:50Z","messageCount":1,"participants":["Wesley J. Landaker"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"133710","messageId":"201002051258.50732.wjl@icecavern.net","threadId":"22535","inReplyTo":null,"subject":"[PATCH (resend)] Update git fsck --full short description to mention packs","fromName":"Wesley J. Landaker","fromEmail":"wjl@icecavern.net","sentAt":"2010-02-05T19:58:50Z","receivedAt":"2010-02-05T19:58:50Z","isPatch":true,"sender":{"key":"wjl@icecavern.net","avatar":"https://avatars.githubusercontent.com/u/67229?v=4"},"body":"The '--full' option to git fsck does two things:\n\n  1) Check objects in packs\n  2) Check alternate objects\n\nThis is documented in the git fsck manual; this patch reflects that in\nthe short git fsck option help message as well.\n\nSigned-off-by: Wesley J. Landaker <wjl@icecavern.net>\n---\n builtin-fsck.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\nI sent this patch a while back, and after the resulting discussion, the --full\noption was made the default. However, the short option help was still not\nupdated to reflect the full documentation (and behavior) of git fsck.\n\n(This is a resend. My apologies if you get this twice.)\n\ndiff --git a/builtin-fsck.c b/builtin-fsck.c\nindex 0e5faae..0929c7f 100644\n--- a/builtin-fsck.c\n+++ b/builtin-fsck.c\n@@ -578,7 +578,7 @@ static struct option fsck_opts[] = {\n \tOPT_BOOLEAN(0, \"root\", &show_root, \"report root nodes\"),\n \tOPT_BOOLEAN(0, \"cache\", &keep_cache_objects, \"make index objects head nodes\"),\n \tOPT_BOOLEAN(0, \"reflogs\", &include_reflogs, \"make reflogs head nodes (default)\"),\n-\tOPT_BOOLEAN(0, \"full\", &check_full, \"also consider alternate objects\"),\n+\tOPT_BOOLEAN(0, \"full\", &check_full, \"also consider packs and alternate objects\"),\n \tOPT_BOOLEAN(0, \"strict\", &check_strict, \"enable more strict checking\"),\n \tOPT_BOOLEAN(0, \"lost-found\", &write_lost_and_found,\n \t\t\t\t\"write dangling objects in .git/lost-found\"),\n-- \n1.6.6.1\n"}]}