• M
    blame: honor the diff heuristic options and config · 5b162879
    Michael Haggerty 提交于
    Teach "git blame" and "git annotate" the --compaction-heuristic and
    --indent-heuristic options that are now supported by "git diff".
    
    Also teach them to honor the `diff.compactionHeuristic` and
    `diff.indentHeuristic` configuration options.
    
    It would be conceivable to introduce separate configuration options for
    "blame" and "annotate"; for example `blame.compactionHeuristic` and
    `blame.indentHeuristic`. But it would be confusing to users if blame
    output is inconsistent with diff output, so it makes more sense for them
    to respect the same configuration.
    Signed-off-by: NMichael Haggerty <mhagger@alum.mit.edu>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    5b162879
diff.c 139.3 KB