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.
This commit is contained in:
Daniel Borchmann 2025-05-01 15:59:26 +02:00
parent 326711f4d2
commit 9e1e976710
No known key found for this signature in database
GPG Key ID: 50EA937BF472ADD1

View File

@ -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