Merge pull request #6092 from libgit2/ethomson/diff_rename_limit

This commit is contained in:
Edward Thomson
2021-10-13 21:53:27 -04:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -768,7 +768,7 @@ typedef struct {
*
* 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.
* Defaults to 200.
* Defaults to 1000.
*/
size_t rename_limit;

View File

@@ -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,