From f610dda023018768033addeea5dee9537002e468 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 8 Jun 2026 10:56:36 +0900 Subject: etc: gitconfig: Use 'histogram' algorithm for diffs. * etc/git/gitconfig [diff] : Set option to histogram. --- etc/git/gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/git/gitconfig') 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 @@ +[diff] + # This does wonder to avoid fragmenting the hunks of package additions + # that would confuse the diff and make individually staging the added + # packages troublesome. + algorithm = histogram + [diff "scheme"] xfuncname = "^(\\(define.*)$" -- cgit v1.2.3