X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=diff-helper.c;h=07ccd7cc38d02843d339a9feb21088912f63dcba;hb=bfb15365b0e9ebb2e4f3facca282c7f585f96e3f;hp=6649fb548f798c84342168b8ef9fe9211093fbfc;hpb=07ee0d77c66d6f356cd3f82435e67510779aa53c;p=git.git diff --git a/diff-helper.c b/diff-helper.c index 6649fb54..07ccd7cc 100644 --- a/diff-helper.c +++ b/diff-helper.c @@ -94,7 +94,8 @@ int main(int ac, const char **av) { if (!strchr("MCRNDU", status)) break; two_paths = score = 0; - if (status == 'R' || status == 'C') + if (status == DIFF_STATUS_RENAMED || + status == DIFF_STATUS_COPIED) two_paths = 1; /* pick up score if exists */