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

    Remove the useless default commit message prefix
---
 vc-jj.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vc-jj.el b/vc-jj.el
index 92d940bb74..f213ea950f 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -98,6 +98,7 @@
   )
 
 (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)))
 

Reply via email to