diffcore-break: similarity estimator fix.
This is a companion patch to the previous fix to diffcore-rename. The merging-back process should use a logic similar to what is used there. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -17,8 +17,8 @@
|
||||
*/
|
||||
#define MAX_SCORE 60000.0
|
||||
#define DEFAULT_RENAME_SCORE 30000 /* rename/copy similarity minimum (50%) */
|
||||
#define DEFAULT_BREAK_SCORE 30000 /* minimum for break to happen (50%)*/
|
||||
#define DEFAULT_MERGE_SCORE 48000 /* maximum for break-merge to happen (80%)*/
|
||||
#define DEFAULT_BREAK_SCORE 30000 /* minimum for break to happen (50%) */
|
||||
#define DEFAULT_MERGE_SCORE 36000 /* maximum for break-merge to happen 60%) */
|
||||
|
||||
#define MINIMUM_BREAK_SIZE 400 /* do not break a file smaller than this */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user