fsck: complain when .gitmodules is a symlink
commitb7b1fca175f1ed7933f361028c631b9ac86d868d
authorJeff King <peff@peff.net>
Sat, 5 May 2018 00:03:35 +0000 (4 20:03 -0400)
committerJeff King <peff@peff.net>
Tue, 22 May 2018 03:55:12 +0000 (21 23:55 -0400)
tree5785e7c711441487c0511db6d1aaacc624fb8ca4
parent73c3f0f704a91b6792e0199a3f3ab6e3a1971675
fsck: complain when .gitmodules is a symlink

We've recently forbidden .gitmodules to be a symlink in
verify_path(). And it's an easy way to circumvent our fsck
checks for .gitmodules content. So let's complain when we
see it.

Signed-off-by: Jeff King <peff@peff.net>
fsck.c
t/t7415-submodule-names.sh