summaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
authorLibravatar Markus Heidelberg <markus.heidelberg@web.de>2008-12-21 17:30:22 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 12:04:12 -0800
commit27c03aafdf29736f889c56777426066c74fa115d (patch)
tree3f8840dee3f18c6956e12b44daa19d15b87f4371 /git-lost-found.sh
parentGIT 1.6.0.6 (diff)
downloadtgif-27c03aafdf29736f889c56777426066c74fa115d.tar.xz
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>
Diffstat (limited to 'git-lost-found.sh')
0 files changed, 0 insertions, 0 deletions