0

On windows 7 version of spacemacs, with git layer, magit fails when trying to add a remote repository. After I enter the remote name, I get the following error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\\([^:/]+\\)/[^/]+\\(\\.git\\)?\\'" nil)
  byte-code("\300\301!\302\303!\211\304\305\306\307\006\006\"\205\031\0\310\004\311\211\006\010\312%\"\313\314!E\207" [magit-get "remote.origin.url" magit-read-string-ns "Remote name" magit-read-url "Remote url" string-match "\\([^:/]+\\)/[^/]+\\(\\.git\\)?\\'" replace-match t 1 transient-args magit-remote] 11)
  call-interactively(magit-remote-add nil nil)
  command-execute(magit-remote-add)

git 2.9.3.windows.1, Emacs 26.3, dev branch of Spacemacs 0.300.0

1 Answer 1

0

This regressions has just been fixed, see https://github.com/magit/magit/pull/4158.

1
  • that was fast, nice
    – Cos_ma
    Commented Jun 27, 2020 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.