mirror of
https://github.com/git/git
synced 2024-10-05 16:19:28 +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:
parent
127bf00f7d
commit
65a9289d7e
|
@ -91,7 +91,7 @@ int main(int ac, const char **av) {
|
||||||
if (*cp++ != ' ')
|
if (*cp++ != ' ')
|
||||||
break;
|
break;
|
||||||
status = *cp++;
|
status = *cp++;
|
||||||
if (!strchr("MCRNDU", status))
|
if (!strchr("AMCRDU", status))
|
||||||
break;
|
break;
|
||||||
two_paths = score = 0;
|
two_paths = score = 0;
|
||||||
if (status == DIFF_STATUS_RENAMED ||
|
if (status == DIFF_STATUS_RENAMED ||
|
||||||
|
|
Loading…
Reference in a new issue