summaryrefslogtreecommitdiff
path: root/Documentation/git-fsck.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-04-29 16:45:14 -0400
committerJunio C Hamano <gitster@pobox.com>2008-04-29 23:11:57 -0700
commit8d308b35401b6abebb65aa97a322526ae11d7220 (patch)
tree0ac12a1d8ac7b0847fffeb6c0d9f2e7a377e3cff /Documentation/git-fsck.txt
parent302cc11a32732a0a3f0a7875b1857098e1964929 (diff)
downloadgit-8d308b35401b6abebb65aa97a322526ae11d7220.tar.gz
Documentation: point git-prune users to git-gc
Most users should be using git-gc instead of directly calling prune. For those who really do want more information on pruning, let's point them at git-fsck, which goes into slightly more detail on reachability. And since we're pointing users there, let's make sure reflogs are mentioned in git-fsck(1). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-fsck.txt')
-rw-r--r--Documentation/git-fsck.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-fsck.txt b/Documentation/git-fsck.txt
index f16cb98612..4cc26fb744 100644
--- a/Documentation/git-fsck.txt
+++ b/Documentation/git-fsck.txt
@@ -22,7 +22,8 @@ OPTIONS
An object to treat as the head of an unreachability trace.
+
If no objects are given, git-fsck defaults to using the
-index file and all SHA1 references in .git/refs/* as heads.
+index file, all SHA1 references in .git/refs/*, and all reflogs (unless
+--no-reflogs is given) as heads.
--unreachable::
Print out objects that exist but that aren't readable from any