summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 18:35:54 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 18:35:54 -0800
commit71cbf773df4a339e3534077bc9a0e69875146963 (patch)
treec2eb82ef52c9e3eca42e0484f183c7a0b68e34d6 /Documentation
parentgit-revert documentation: refer to new HOWTO on reverting faulty merges (diff)
parentdoc/git-fsck: change the way for getting heads' SHA1s (diff)
downloadtgif-71cbf773df4a339e3534077bc9a0e69875146963.tar.xz
Merge branch 'maint'
* maint: doc/git-fsck: change the way for getting heads' SHA1s
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-fsck.txt3
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