branch: externals/vc-jj
commit 08449de4065fc8197b387a42c53b3291fc0b9338
Author: Wojciech Siewierski <wojci...@siewierski.eu>
Commit: Wojciech Siewierski <wojci...@siewierski.eu>

    Remove a second "--" argument, it's already in the arg list
---
 vc-jj.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-jj.el b/vc-jj.el
index bb79c1daf9..ca14b62141 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -191,7 +191,7 @@ self.hidden(), \"\\n\"
 (defun vc-jj-checkin (files comment &optional _rev)
   (setq comment (replace-regexp-in-string "\\`Summary: " "" comment))
   (let ((args (append (vc-switches 'jj 'checkin) (list "--") files)))
-    (apply #'call-process "jj" nil nil nil "commit" "-m" comment "--" args)))
+    (apply #'call-process "jj" nil nil nil "commit" "-m" comment args)))
 
 (defun vc-jj-find-revision (file rev buffer)
   (call-process "jj" nil buffer nil "file" "show" "-r" rev "--" file))

Reply via email to