From 65a9289d7e5207ed66199db94593b31fa5550fde Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 12 Sep 2005 11:03:43 +1000 Subject: [PATCH] [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 Signed-off-by: Junio C Hamano --- diff-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff-helper.c b/diff-helper.c index 3fa50ee7..734956e4 100644 --- a/diff-helper.c +++ b/diff-helper.c @@ -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 || -- 2.11.0