Function: majutsu-new-with-before

majutsu-new-with-before is an interactive and natively compiled function defined in majutsu-new.el.

Signature

(majutsu-new-with-before)

Documentation

Create a new changeset with the commit at point as --before.

Key Bindings

majutsu-log-mode-map B

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-new.el
;;;###autoload
(defun majutsu-new-with-before ()
  "Create a new changeset with the commit at point as --before."
  (interactive)
  (if-let* ((before (majutsu-revision-at-point)))
      (majutsu-new--run-command (list "new" "--insert-before" before))
    (user-error "No revision at point")))