aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-12-21 18:35:54 -0800
committerJunio C Hamano <gitster@pobox.com>2008-12-21 18:35:54 -0800
commit71cbf773df4a339e3534077bc9a0e69875146963 (patch)
treec2eb82ef52c9e3eca42e0484f183c7a0b68e34d6
parentb80b5d67999dfa5bb1e7ad8ff50142bb371b3746 (diff)
parent27c03aafdf29736f889c56777426066c74fa115d (diff)
downloadgit-71cbf773df4a339e3534077bc9a0e69875146963.tar.gz
git-71cbf773df4a339e3534077bc9a0e69875146963.tar.xz
Merge branch 'maint'
* maint: doc/git-fsck: change the way for getting heads' SHA1s
-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 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