diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-12-21 18:35:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-21 18:35:54 -0800 |
commit | 71cbf773df4a339e3534077bc9a0e69875146963 (patch) | |
tree | c2eb82ef52c9e3eca42e0484f183c7a0b68e34d6 /Documentation/git-fsck.txt | |
parent | git-revert documentation: refer to new HOWTO on reverting faulty merges (diff) | |
parent | doc/git-fsck: change the way for getting heads' SHA1s (diff) | |
download | tgif-71cbf773df4a339e3534077bc9a0e69875146963.tar.xz |
Merge branch 'maint'
* maint:
doc/git-fsck: change the way for getting heads' SHA1s
Diffstat (limited to 'Documentation/git-fsck.txt')
-rw-r--r-- | Documentation/git-fsck.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-fsck.txt b/Documentation/git-fsck.txt index d5a7647219..287c4fc5e0 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 |