verify_dotfile: mention case-insensitivity in comment

We're more restrictive than we need to be in matching ".GIT" on case-sensitive filesystems; let's make a note that this is intentional. Signed-off-by: Jeff King <peff@peff.net>

Jeff King committed May 15, 2018 at 09:56 UTC 641084b618ddbe099f0992161988c3e479ae848b
1 file changed +4 -1
read-cache.c
+4 -1
@@ -810,7 +810,10 @@ static int verify_dotfile(const char *rest)
810
811 switch (*rest) {
812 /*
813 - * ".git" followed by NUL or slash is bad.
813 + * ".git" followed by NUL or slash is bad. Note that we match
814 + * case-insensitively here, even if ignore_case is not set.
815 + * This outlaws ".GIT" everywhere out of an abundance of caution,
816 + * since there's really no good reason to allow it.
817 */
818 case 'g':
819 case 'G':