1. Stefan Saasen
  2. git


Junio C Hamano  committed 71cbf77 Merge

Merge branch 'maint'

* maint:
doc/git-fsck: change the way for getting heads' SHA1s

  • Participants
  • Parent commits b80b5d6, 27c03aa
  • Branches master

Comments (0)

Files changed (1)

File Documentation/git-fsck.txt

View file
  • Ignore whitespace
 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