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:
commit
71cbf773df
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user