Function: majutsu-git--expand-remote-url-arg

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

Signature

(majutsu-git--expand-remote-url-arg ARG)

Documentation

Convert ARG as a remote URL option or positional URL/path.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-git.el
(defun majutsu-git--expand-remote-url-arg (arg)
  "Convert ARG as a remote URL option or positional URL/path."
  (let* ((expanded (majutsu-git--expand-url-option-arg arg "--fetch="))
         (expanded (majutsu-git--expand-url-option-arg expanded "--push=")))
    (if (equal expanded arg)
        (majutsu-git--url-or-path-arg arg)
      expanded)))