X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=diff-helper.c;h=07ccd7cc38d02843d339a9feb21088912f63dcba;hb=bd6bc56d4ebf04113657647e6d071e24ca708dad;hp=6649fb548f798c84342168b8ef9fe9211093fbfc;hpb=98e031f0bb6e857c684e6db24d03d22cfc1a532a;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 */