1
0
mirror of https://github.com/git/git.git synced 2025-03-23 06:36:42 +00:00

Merge branch 'maint'

* maint:
  doc/git-fsck: change the way for getting heads' SHA1s
This commit is contained in:
Junio C Hamano 2008-12-21 18:35:54 -08:00
commit 71cbf773df

View File

@ -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