Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
b5a7af28
Unverified
Commit
b5a7af28
authored
Oct 13, 2021
by
Edward Thomson
Committed by
GitHub
Oct 13, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6092 from libgit2/ethomson/diff_rename_limit
parents
b7bad55e
1738f732
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/git2/diff.h
+1
-1
src/diff_tform.c
+1
-1
No files found.
include/git2/diff.h
View file @
b5a7af28
...
@@ -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
2
00.
* Defaults to
10
00.
*/
*/
size_t
rename_limit
;
size_t
rename_limit
;
...
...
src/diff_tform.c
View file @
b5a7af28
...
@@ -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
2
00
#define DEFAULT_RENAME_LIMIT
10
00
static
int
normalize_find_opts
(
static
int
normalize_find_opts
(
git_diff
*
diff
,
git_diff
*
diff
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment