mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
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.
This commit is contained in:
parent
6b0c312106
commit
6f97a894d6
1 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,7 @@ git-fsck-cache - Verifies the connectivity and validity of the objects in the da
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
--------
|
--------
|
||||||
'git-fsck-cache' [--tags] [--root] [--delta-depth] [[--unreachable] [--cache] <object>\*]
|
'git-fsck-cache' [--tags] [--root] [--delta-depth] [--unreachable] [--cache] [<object>*]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
@ -20,9 +20,12 @@ OPTIONS
|
||||||
<object>::
|
<object>::
|
||||||
An object to treat as the head of an unreachability trace.
|
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::
|
--unreachable::
|
||||||
Print out objects that exist but that aren't readable from any
|
Print out objects that exist but that aren't readable from any
|
||||||
of the specified head nodes.
|
of the reference nodes.
|
||||||
|
|
||||||
--root::
|
--root::
|
||||||
Report root nodes.
|
Report root nodes.
|
||||||
|
|
Loading…
Reference in a new issue