branch: externals/diff-hl
commit 114b5da2a98fc33ba2f9f2ae1bfb4b653ba088d6
Author: Wojciech Siewierski <[email protected]>
Commit: Wojciech Siewierski <[email protected]>
Provide diff switches for jj
---
diff-hl.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/diff-hl.el b/diff-hl.el
index 0f73c5883b..ceb28925f2 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -308,6 +308,7 @@ It can be a relative expression as well, such as \"HEAD^\"
with Git, or
(defvar vc-svn-diff-switches)
(defvar vc-fossil-diff-switches)
+(defvar vc-jj-diff-switches)
(defmacro diff-hl-with-diff-switches (body)
`(let ((vc-git-diff-switches
@@ -323,6 +324,7 @@ It can be a relative expression as well, such as \"HEAD^\"
with Git, or
(vc-hg-diff-switches nil)
(vc-svn-diff-switches nil)
(vc-fossil-diff-switches '("-c" "0"))
+ (vc-jj-diff-switches '("--context=0"))
(vc-diff-switches '("-U0"))
,@(when (boundp 'vc-disable-async-diff)
'((vc-disable-async-diff t))))