is_hfs_dotgit: match other .git files
commit0fc333ba20b43a8afee5023e92cb3384ff4e59a6
authorJeff King <peff@peff.net>
Wed, 2 May 2018 19:23:45 +0000 (2 15:23 -0400)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:50:11 +0000 (21 23:50 -0400)
tree6b300f5e1f0a0b3b9e0b305c96cd8cfd3033ad5b
parent11a9f4d807a0d71dc6eff51bb87baf4ca2cccf1d
is_hfs_dotgit: match other .git files

Both verify_path() and fsck match ".git", ".GIT", and other
variants specific to HFS+. Let's allow matching other
special files like ".gitmodules", which we'll later use to
enforce extra restrictions via verify_path() and fsck.

Signed-off-by: Jeff King <peff@peff.net>
utf8.c
utf8.h