author | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Jan 2009 08:33:00 +0000 (00:33 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 31 Jan 2009 03:23:22 +0000 (19:23 -0800) | ||
commit | 469e2ebf63cbf05455365aa3ed6d43acf6f4e496 | |
tree | 7bf97707210e0ecba44570c94cd35048c4df9266 | tree | snapshot |
parent | a34a9dbbced36999496c52b43460825732d487ba | commit | diff |
fsck: HEAD is part of refs
By default we looked at all refs but not HEAD. The only thing that made
fsck not lose sight of commits that are only reachable from a detached
HEAD was the reflog for the HEAD.
This fixes it, with a new test.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
By default we looked at all refs but not HEAD. The only thing that made
fsck not lose sight of commits that are only reachable from a detached
HEAD was the reflog for the HEAD.
This fixes it, with a new test.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fsck.c | diff | blob | history | |
t/t1450-fsck.sh | [new file with mode: 0755] | blob |