Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff_tform.c')
-rw-r--r--src/diff_tform.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/diff_tform.c b/src/diff_tform.c
index 5888bdac1..492a5daa9 100644
--- a/src/diff_tform.c
+++ b/src/diff_tform.c
@@ -302,6 +302,9 @@ static int normalize_find_opts(
if (opts->flags & GIT_DIFF_BREAK_REWRITES)
opts->flags |= GIT_DIFF_FIND_REWRITES;
+ if (opts->flags & GIT_DIFF_FIND_NO_RENAMES)
+ opts->flags &= ~GIT_DIFF_FIND_ALL;
+
#define USE_DEFAULT(X) ((X) == 0 || (X) > 100)
if (USE_DEFAULT(opts->rename_threshold))