From 9e1e9767108d5990ca4dc84665cd7c0c9d1e6796 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 1 May 2025 15:59:26 +0200 Subject: [PATCH] Use Histogram Diff Algorithm For Git also in `vc.el` I have set `diff.algorithm` to `histogram` anyway, so let's also use this in `vc.el`. Taken from https://github.com/dgutov/diff-hl?tab=readme-ov-file#notes. --- init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.el b/init.el index 39215ec..9a50b23 100644 --- a/init.el +++ b/init.el @@ -1637,6 +1637,9 @@ Note that this workaround is incomplete, as explained in this comment." transient-values-file (expand-file-name "transient/values.el" emacs-d-userdata) transient-history-file (expand-file-name "transient/history.el" emacs-d-userdata))) +(use-package vc + :init (setopt vc-git-diff-switches '("--histogram"))) + ;; * Mail