author | Markus Heidelberg <markus.heidelberg@web.de> | |
Sun, 21 Dec 2008 16:30:22 +0000 (17:30 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Dec 2008 20:04:12 +0000 (12:04 -0800) | ||
commit | 27c03aafdf29736f889c56777426066c74fa115d | |
tree | 3f8840dee3f18c6956e12b44daa19d15b87f4371 | tree | snapshot |
parent | 718258e256b74622aa55f5ee0cb9cff4cce6bf9f | commit | diff |
doc/git-fsck: change the way for getting heads' SHA1s
The straightforward way with using 'cat .git/refs/heads/*' doesn't work
with packed refs as well as branches of the form topic/topic1. So let's
use git-for-each-ref for getting the heads' SHA1s in this example.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The straightforward way with using 'cat .git/refs/heads/*' doesn't work
with packed refs as well as branches of the form topic/topic1. So let's
use git-for-each-ref for getting the heads' SHA1s in this example.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fsck.txt | diff | blob | history |