Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-12-22 05:35:54 +0300
committerJunio C Hamano <gitster@pobox.com>2008-12-22 05:35:54 +0300
commit71cbf773df4a339e3534077bc9a0e69875146963 (patch)
treec2eb82ef52c9e3eca42e0484f183c7a0b68e34d6 /Documentation
parentb80b5d67999dfa5bb1e7ad8ff50142bb371b3746 (diff)
parent27c03aafdf29736f889c56777426066c74fa115d (diff)
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