[PATCH] Apply N -> A status change in diff-helper
When the git diff status 'N' was changed to 'A', diff-helper.c was not updated accordingly. This means that it no longer shows the diff for newly added files. This patch makes that change in diff-helper.c. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Junio C Hamano <junkio@cox.net>
Herbert Xu committed
Sep 12, 2005 at 11:03 UTC
65a9289d7e5207ed66199db94593b31fa5550fde
1 file changed
+1
-1
diff-helper.c
+1
-1
@@ -91,7 +91,7 @@ int main(int ac, const char **av) {
91
if (*cp++ != ' ')
92
break;
93
status = *cp++;
94
- if (!strchr("MCRNDU", status))
94
+ if (!strchr("AMCRDU", status))
95
break;
96
two_paths = score = 0;
97
if (status == DIFF_STATUS_RENAMED ||