diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-08 10:56:36 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-06-29 14:20:29 +0900 |
| commit | f610dda023018768033addeea5dee9537002e468 (patch) | |
| tree | 592d2f03145a7bddb29435ee4f9fb0f276b77bc2 /etc/git/gitconfig | |
| parent | 1ca28942d696d631265d42beeda9bb831d2a2f65 (diff) | |
etc: gitconfig: Use 'histogram' algorithm for diffs.
* etc/git/gitconfig [diff] <algorithm>: Set option to histogram.
Diffstat (limited to 'etc/git/gitconfig')
| -rw-r--r-- | etc/git/gitconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/git/gitconfig b/etc/git/gitconfig index 4dc2f696062..e4e1f319334 100644 --- a/etc/git/gitconfig +++ b/etc/git/gitconfig | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | [diff] | ||
| 2 | # This does wonder to avoid fragmenting the hunks of package additions | ||
| 3 | # that would confuse the diff and make individually staging the added | ||
| 4 | # packages troublesome. | ||
| 5 | algorithm = histogram | ||
| 6 | |||
| 1 | [diff "scheme"] | 7 | [diff "scheme"] |
| 2 | xfuncname = "^(\\(define.*)$" | 8 | xfuncname = "^(\\(define.*)$" |
| 3 | 9 | ||
