summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 127bf00)
raw | patch | inline | side by side (parent: 127bf00)
author | Herbert Xu <herbert@gondor.apana.org.au> | |
Mon, 12 Sep 2005 01:03:43 +0000 (11:03 +1000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 12 Sep 2005 01:53:07 +0000 (18:53 -0700) |
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>
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>
diff-helper.c | patch | blob | history |
diff --git a/diff-helper.c b/diff-helper.c
index 3fa50ee75b510c5396fe004160f80ddbe4955ca1..734956e4da47c1a7e982a7a9fd16afe9d49f9cf0 100644 (file)
--- a/diff-helper.c
+++ b/diff-helper.c
if (*cp++ != ' ')
break;
status = *cp++;
- if (!strchr("MCRNDU", status))
+ if (!strchr("AMCRDU", status))
break;
two_paths = score = 0;
if (status == DIFF_STATUS_RENAMED ||