Commit d174381c44ea67cd08bc214611a9a63ffeef24a9

Edward Thomson 2021-10-13T11:34:56

diff: make the default rename_limit 1000 git's default rename limit is 1000, ours should match.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/diff_tform.c b/src/diff_tform.c
index 908175d..597e64e 100644
--- a/src/diff_tform.c
+++ b/src/diff_tform.c
@@ -241,7 +241,7 @@ int git_diff_find_similar__calc_similarity(
 
 #define DEFAULT_THRESHOLD 50
 #define DEFAULT_BREAK_REWRITE_THRESHOLD 60
-#define DEFAULT_RENAME_LIMIT 200
+#define DEFAULT_RENAME_LIMIT 1000
 
 static int normalize_find_opts(
 	git_diff *diff,