Eleventh batch for 2.13
[gitweb.git] / sha1_name.c
index cda9e49b12e7128dd22a8ccbaff437cb7db34d92..d9d1b2fce8dddfe51c3e23b4b524e6eed4028b86 100644 (file)
@@ -549,7 +549,7 @@ static inline int at_mark(const char *string, int len,
        for (i = 0; i < nr; i++) {
                int suffix_len = strlen(suffix[i]);
                if (suffix_len <= len
-                   && !memcmp(string, suffix[i], suffix_len))
+                   && !strncasecmp(string, suffix[i], suffix_len))
                        return suffix_len;
        }
        return 0;