Function: majutsu-describe

majutsu-describe is an interactive and natively compiled function defined in majutsu-commit.el.

Signature

(majutsu-describe &optional ARG)

Documentation

Update the description for the commit at point.

With prefix ARG, add --ignore-immutable.

Key Bindings

majutsu-mode-map c

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-commit.el
;;; majutsu-describe

;;;###autoload
(defun majutsu-describe (&optional arg)
  "Update the description for the commit at point.
With prefix ARG, add --ignore-immutable."
  (interactive "P")
  (let* ((revset (or (magit-section-value-if 'jj-commit) "@"))
         (args (append (list "describe" "-r" revset)
                       (when arg '("--ignore-immutable")))))
    (majutsu-run-jj-with-editor args)))