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