diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-05-28 11:17:10 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-28 11:17:10 -0700 |
| commit | b32f298264d9df8febc9942c196eaf7e82c86184 (patch) | |
| tree | 505b9d718fb68565d322cd66e2c22ffb8813d0c1 /builtin/log.c | |
| parent | Merge branch 'jc/rev-parse-fatal-doc' (diff) | |
| parent | format-patch: run range-diff with larger creation-factor (diff) | |
| download | git-b32f298264d9df8febc9942c196eaf7e82c86184.tar.gz git-b32f298264d9df8febc9942c196eaf7e82c86184.zip | |
Merge branch 'jc/format-patch-more-aggressive-range-diff'
The default "creation-factor" used by "git format-patch" has been
raised to make it more aggressively find matching commits.
* jc/format-patch-more-aggressive-range-diff:
format-patch: run range-diff with larger creation-factor
Diffstat (limited to 'builtin/log.c')
| -rw-r--r-- | builtin/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/log.c b/builtin/log.c index b17dd8b40a..c8ce0c0d88 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -2296,7 +2296,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix) } if (creation_factor < 0) - creation_factor = RANGE_DIFF_CREATION_FACTOR_DEFAULT; + creation_factor = CREATION_FACTOR_FOR_THE_SAME_SERIES; else if (!rdiff_prev) die(_("the option '%s' requires '%s'"), "--creation-factor", "--range-diff"); |
