diff options
author | Edward Thomson <ethomson@github.com> | 2021-10-13 21:53:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 21:53:27 -0400 |
commit | b5a7af28894331c3ab920737a5608172a445e3fc (patch) | |
tree | 94c965a5ca2add9ccaa0192ee5b999aae374b2f2 | |
parent | b7bad55e4bb0a285b073ba5e02b01d3f522fc95d (diff) | |
parent | 1738f7320d81e316f782a2fddc45233864dc6929 (diff) | |
download | libgit2-b5a7af28894331c3ab920737a5608172a445e3fc.tar.gz |
Merge pull request #6092 from libgit2/ethomson/diff_rename_limit
-rw-r--r-- | include/git2/diff.h | 2 | ||||
-rw-r--r-- | src/diff_tform.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index a14c01993..b0119b9f7 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -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; diff --git a/src/diff_tform.c b/src/diff_tform.c index 908175d34..597e64e45 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, |