X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-fsck.txt;h=287c4fc5e07ea753c2a3d93bf6480f41aac8c9af;hb=996869601594ffefb67238175055922340ced6f8;hp=d5a76472196a5e67bc6e62411d90377ec3b46e3a;hpb=f7484dbb835871f9526c56eb325011a312df626b;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