fsck: notice .git case-insensitively
commit76e86fc6e3523d28e8db00e7b10c33c553d996b8
authorJeff King <peff@peff.net>
Mon, 24 Nov 2014 18:40:44 +0000 (24 13:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2014 19:04:39 +0000 (17 11:04 -0800)
treeec06cc78824f9398e9b2e9df549f7ef06e7799bc
parent450870cba7a9bac94b5527021800bd8bf037c99c
fsck: notice .git case-insensitively

We complain about ".git" in a tree because it cannot be
loaded into the index or checked out. Since we now also
reject ".GIT" case-insensitively, fsck should notice the
same, so that errors do not propagate.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c
t/t1450-fsck.sh