Function: majutsu-git--expand-option-arg

majutsu-git--expand-option-arg is a natively compiled function defined in majutsu-git.el.

Signature

(majutsu-git--expand-option-arg ARG PREFIX)

Documentation

If ARG begins with PREFIX, expand the file name part.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-git.el
(defun majutsu-git--expand-option-arg (arg prefix)
  "If ARG begins with PREFIX, expand the file name part."
  (if-let* ((value (transient-arg-value prefix (list arg))))
      (concat prefix
              (majutsu-convert-filename-for-jj
               (expand-file-name value)))
    arg))