Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trivial: use git-repo-config to detect if the test can be run on the repository
[gitweb.git]
/
diffcore-rename.c
diff --git
a/diffcore-rename.c
b/diffcore-rename.c
index dba965c0b4006251b1da04465d319c5fe9997ea4..39d9126cb9d397df06d41495a3402123fa4ba46b 100644
(file)
--- a/
diffcore-rename.c
+++ b/
diffcore-rename.c
@@
-282,7
+282,7
@@
void diffcore_rename(struct diff_options *options)
else if (detect_rename == DIFF_DETECT_COPY)
register_rename_src(p->one, 1);
}
- if (rename_dst_nr == 0 ||
+ if (rename_dst_nr == 0 ||
rename_src_nr == 0 ||
(0 < rename_limit && rename_limit < rename_dst_nr))
goto cleanup; /* nothing to do */