Unverified Commit b5a7af28 by Edward Thomson Committed by GitHub

Merge pull request #6092 from libgit2/ethomson/diff_rename_limit

parents b7bad55e 1738f732
...@@ -768,7 +768,7 @@ typedef struct { ...@@ -768,7 +768,7 @@ typedef struct {
* *
* This is a little different from the `-l` option from Git because we * This is a little different from the `-l` option from Git because we
* will still process up to this many matches before abandoning the search. * will still process up to this many matches before abandoning the search.
* Defaults to 200. * Defaults to 1000.
*/ */
size_t rename_limit; size_t rename_limit;
......
...@@ -241,7 +241,7 @@ int git_diff_find_similar__calc_similarity( ...@@ -241,7 +241,7 @@ int git_diff_find_similar__calc_similarity(
#define DEFAULT_THRESHOLD 50 #define DEFAULT_THRESHOLD 50
#define DEFAULT_BREAK_REWRITE_THRESHOLD 60 #define DEFAULT_BREAK_REWRITE_THRESHOLD 60
#define DEFAULT_RENAME_LIMIT 200 #define DEFAULT_RENAME_LIMIT 1000
static int normalize_find_opts( static int normalize_find_opts(
git_diff *diff, git_diff *diff,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment