From: Herbert Xu Date: Mon, 12 Sep 2005 01:03:43 +0000 (+1000) Subject: [PATCH] Apply N -> A status change in diff-helper X-Git-Tag: v0.99.7~72 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=65a9289d7e5207ed66199db94593b31fa5550fde;p=git.git [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 --git a/diff-helper.c b/diff-helper.c index 3fa50ee75..734956e4d 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 ||