* [PATCH (resend)] Update git fsck --full short description to mention packs
@ 2010-02-05 19:58 Wesley J. Landaker
0 siblings, 0 replies; only message in thread
From: Wesley J. Landaker @ 2010-02-05 19:58 UTC (permalink / raw)
To: git, gitster
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>
---
builtin-fsck.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
I sent this patch a while back, and after the resulting discussion, the --full
option was made the default. However, the short option help was still not
updated to reflect the full documentation (and behavior) of git fsck.
(This is a resend. My apologies if you get this twice.)
diff --git a/builtin-fsck.c b/builtin-fsck.c
index 0e5faae..0929c7f 100644
--- a/builtin-fsck.c
+++ b/builtin-fsck.c
@@ -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"),
--
1.6.6.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-05 19:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 19:58 [PATCH (resend)] Update git fsck --full short description to mention packs Wesley J. Landaker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).