Function: majutsu-remote--validate-new-name
majutsu-remote--validate-new-name is a natively compiled function
defined in majutsu-remote.el.
Signature
(majutsu-remote--validate-new-name REMOTE)
Documentation
Signal a user error if REMOTE is not a valid new jj Git remote name.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-remote.el
(defun majutsu-remote--validate-new-name (remote)
"Signal a user error if REMOTE is not a valid new jj Git remote name."
(cond
((string= remote "git")
(user-error "Git remote named 'git' is reserved for local Git repository"))
((string-match-p "/" remote)
(user-error "Git remotes with slashes are incompatible with jj: %s" remote))))