Doom Doctor: Fix insteadOf check
Always triggers when it's correct and never triggers when it's incorrect.
This commit is contained in:
parent
026d961985
commit
d3112b5dfc
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ in."
|
|||
|
||||
(print! (start "Checking for problematic git global settings..."))
|
||||
(if (executable-find "git")
|
||||
(unless (zerop (car (doom-call-process "git" "config" "--global" "--get-regexp" "^url\\.git://github\\.com")))
|
||||
(when (zerop (car (doom-call-process "git" "config" "--global" "--get-regexp" "^url\\.git://github\\.com")))
|
||||
(warn! "Detected insteadOf rules in your global gitconfig.")
|
||||
(explain! "Doom's package manager heavily relies on git. In particular, many of its packages "
|
||||
"are hosted on github. Rewrite rules like these will break it:\n\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue