X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fgit-fsck.txt;h=287c4fc5e07ea753c2a3d93bf6480f41aac8c9af;hb=348df16679cf35b7bba7afea99638e7d81dc3d33;hp=d5a76472196a5e67bc6e62411d90377ec3b46e3a;hpb=679639904da05f7d84e9215960e76dd0f3353328;p=git.git diff --git a/Documentation/git-fsck.txt b/Documentation/git-fsck.txt index d5a764721..287c4fc5e 100644 --- a/Documentation/git-fsck.txt +++ b/Documentation/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