Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] remove "-r" option to xargs
[gitweb.git]
/
diff-helper.c
diff --git
a/diff-helper.c
b/diff-helper.c
index 6649fb548f798c84342168b8ef9fe9211093fbfc..07ccd7cc38d02843d339a9feb21088912f63dcba 100644
(file)
--- 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 */