Skip to content

Commit a57ea44

Browse files
authored
Merge pull request #237 from vifon/jj-diff-switches
Provide diff switches for jj
2 parents ed47dc1 + 114b5da commit a57ea44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

diff-hl.el

+2
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ It can be a relative expression as well, such as \"HEAD^\" with Git, or
308308

309309
(defvar vc-svn-diff-switches)
310310
(defvar vc-fossil-diff-switches)
311+
(defvar vc-jj-diff-switches)
311312

312313
(defmacro diff-hl-with-diff-switches (body)
313314
`(let ((vc-git-diff-switches
@@ -323,6 +324,7 @@ It can be a relative expression as well, such as \"HEAD^\" with Git, or
323324
(vc-hg-diff-switches nil)
324325
(vc-svn-diff-switches nil)
325326
(vc-fossil-diff-switches '("-c" "0"))
327+
(vc-jj-diff-switches '("--context=0"))
326328
(vc-diff-switches '("-U0"))
327329
,@(when (boundp 'vc-disable-async-diff)
328330
'((vc-disable-async-diff t))))

0 commit comments

Comments
 (0)