[PATCH] strcasestr compatibility replacement
[gitweb.git] / diff-helper.c
index 3fa50ee75b510c5396fe004160f80ddbe4955ca1..734956e4da47c1a7e982a7a9fd16afe9d49f9cf0 100644 (file)
@@ -91,7 +91,7 @@ int main(int ac, const char **av) {
                        if (*cp++ != ' ')
                                break;
                        status = *cp++;
-                       if (!strchr("MCRNDU", status))
+                       if (!strchr("AMCRDU", status))
                                break;
                        two_paths = score = 0;
                        if (status == DIFF_STATUS_RENAMED ||