You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
blame's config callback did not load diff.renameThreshold because it
chained directly to git_default_config, skipping git_diff_basic_config
(and git_diff_ui_config) where that setting is handled. As a result,
repo_diff_setup() always saw a zero rename_score, and blame fell back to
DEFAULT_RENAME_SCORE (50%) regardless of the configured threshold.
This PR moves diff.renameThreshold from git_diff_ui_config to
git_diff_basic_config, alongside the related diff.renameLimit setting,
so that plumbing commands that use git_diff_basic_config can also pick
it up - but instead of trying to import that for blame, this PR adds
separate configuration for blame.renames, blame.renameThreshold, and
blame.renameLimit
Assisted-by: Claude Opus 4.6
0 commit comments