branch: externals/vc-jj commit 389253b8693a6da5a1a3d80bfc213f5eb0940e77 Author: Kristoffer Balintona <krisbalint...@gmail.com> Commit: Kristoffer Balintona <krisbalint...@gmail.com>
Add FIXME comment in `vc-jj-checkin` --- vc-jj.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vc-jj.el b/vc-jj.el index 7a31b9d68b..af33011222 100644 --- a/vc-jj.el +++ b/vc-jj.el @@ -443,6 +443,10 @@ parents.map(|c| concat( (defun vc-jj-checkin (files comment &optional _rev) "Run \"jj commit\" with supplied FILES and COMMENT." + ;; FIXME 2025-06-24: Find a more robust solution than + ;; `replace-regexp-in-string' on the "Summary" header if possible. + ;; Also ideally future-proof by considering the presence of other + ;; headers, e.g., `log-edit-headers-alist'. (setq comment (replace-regexp-in-string "\\`Summary: " "" comment)) (let ((args (append (vc-switches 'jj 'checkin) (list "commit" "-m" comment)))) (apply #'vc-jj--command-dispatched nil 0 files args)))