Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Diff overhaul, adding the other half of copy detection.
[gitweb.git]
/
diff-files.c
diff --git
a/diff-files.c
b/diff-files.c
index d3b80a07255511097fd0eebe94fc844f63d5e152..a3c523ff6feeae5d5200153012068ee05f91d836 100644
(file)
--- a/
diff-files.c
+++ b/
diff-files.c
@@
-126,7
+126,7
@@
int main(int argc, char **argv)
continue;
}
changed = ce_match_stat(ce, &st);
- if (!changed)
+ if (!changed
&& detect_rename < 2
)
continue;
oldmode = ntohl(ce->ce_mode);