Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] diff-helper: Fix R/C score parsing under -z flag.
[gitweb.git]
/
diff-tree.c
diff --git
a/diff-tree.c
b/diff-tree.c
index c66c78708e81617c3bce19750e07bff9d692e5c9..8bdb1dba59f9b36a9660273eb17577c1fc76cdbe 100644
(file)
--- a/
diff-tree.c
+++ b/
diff-tree.c
@@
-578,6
+578,9
@@
int main(int argc, const char **argv)
if (!read_stdin)
return 0;
+ if (detect_rename)
+ diff_setup_opt |= (DIFF_SETUP_USE_SIZE_CACHE |
+ DIFF_SETUP_USE_CACHE);
while (fgets(line, sizeof(line), stdin))
diff_tree_stdin(line);