1
0
mirror of https://github.com/git/git synced 2024-07-07 19:39:27 +00:00

[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>
This commit is contained in:
Herbert Xu 2005-09-12 11:03:43 +10:00 committed by Junio C Hamano
parent 127bf00f7d
commit 65a9289d7e

View 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 ||