Skip to content

Commit

Permalink
[PATCH] Apply N -> A status change in diff-helper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herbert Xu authored and Junio C Hamano committed Sep 12, 2005
1 parent 127bf00 commit 65a9289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down

0 comments on commit 65a9289

Please sign in to comment.