summaryrefslogtreecommitdiffstats
path: root/git-fsck.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-12-22 08:27:21 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-12-22 08:27:21 +0000
commitf1231497f0c07300959a19e2c7b7da9d0e956d53 (patch)
tree95ec1b5697c297aecd3727a57482afd30da0da7e /git-fsck.txt
parentf62a11d3989648e70e02e297355d8177f29d5dd0 (diff)
downloadgit-htmldocs-f1231497f0c07300959a19e2c7b7da9d0e956d53.tar.gz
Autogenerated HTML docs for v1.6.1-rc4
Diffstat (limited to 'git-fsck.txt')
-rw-r--r--git-fsck.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-fsck.txt b/git-fsck.txt
index d5a764721..287c4fc5e 100644
--- a/git-fsck.txt
+++ b/git-fsck.txt
@@ -79,7 +79,8 @@ that aren't readable from any of the specified head nodes.
So for example
- git fsck --unreachable HEAD $(cat .git/refs/heads/*)
+ git fsck --unreachable HEAD \
+ $(git for-each-ref --format="%(objectname)" refs/heads)
will do quite a _lot_ of verification on the tree. There are a few
extra validity tests to be added (make sure that tree objects are