aboutsummaryrefslogtreecommitdiff
path: root/diff-helper.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2005-09-12 11:03:43 +1000
committerJunio C Hamano <junkio@cox.net>2005-09-11 18:53:07 -0700
commit65a9289d7e5207ed66199db94593b31fa5550fde (patch)
tree0ad353d993cc8ac4e300692fe872610bbb7b80c9 /diff-helper.c
parent127bf00f7d2fee044602bec8c76ec9d6bf368025 (diff)
downloadgit-65a9289d7e5207ed66199db94593b31fa5550fde.tar.gz
git-65a9289d7e5207ed66199db94593b31fa5550fde.tar.xz
[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>
Diffstat (limited to 'diff-helper.c')
-rw-r--r--diff-helper.c2
1 files changed, 1 insertions, 1 deletions
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 ||