mirror of
https://github.com/git/git.git
synced 2024-10-31 06:17:56 +01:00
5b162879e9
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: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7 lines
255 B
Text
7 lines
255 B
Text
--indent-heuristic::
|
|
--no-indent-heuristic::
|
|
--compaction-heuristic::
|
|
--no-compaction-heuristic::
|
|
These are to help debugging and tuning experimental heuristics
|
|
(which are off by default) that shift diff hunk boundaries to
|
|
make patches easier to read.
|