summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 14:32:26 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 14:32:26 -0700
commit6f97a894d6fe78c9ae24a128e6b93765b4cc76ff (patch)
treefe45436849316d7dcf10c8d5b3e05fb18b0b3d6b /Documentation
parentInclude file cleanups.. (diff)
downloadtgif-6f97a894d6fe78c9ae24a128e6b93765b4cc76ff.tar.xz
Fix up git-fsck-cache documentation
Notably, the "--unreachable" flag no longer depends on specified heads, and we should document what happens if no heads are given.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-fsck-cache.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-fsck-cache.txt b/Documentation/git-fsck-cache.txt
index c05b1bfd99..ff97504cd6 100644
--- a/Documentation/git-fsck-cache.txt
+++ b/Documentation/git-fsck-cache.txt
@@ -9,7 +9,7 @@ git-fsck-cache - Verifies the connectivity and validity of the objects in the da
SYNOPSIS
--------
-'git-fsck-cache' [--tags] [--root] [--delta-depth] [[--unreachable] [--cache] <object>\*]
+'git-fsck-cache' [--tags] [--root] [--delta-depth] [--unreachable] [--cache] [<object>*]
DESCRIPTION
-----------
@@ -20,9 +20,12 @@ OPTIONS
<object>::
An object to treat as the head of an unreachability trace.
+ If no objects are given, git-fsck-cache defaults to using the
+ index file and all SHA1 references in .git/refs/* as heads.
+
--unreachable::
Print out objects that exist but that aren't readable from any
- of the specified head nodes.
+ of the reference nodes.
--root::
Report root nodes.