From 026d96198569974f4432a6b3afed91e17507b64a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 31 Jan 2021 04:34:46 -0500 Subject: [PATCH] doom doctor: fix insteadOf check #2679 I got the source and destination urls mixed up. --- core/cli/doctor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cli/doctor.el b/core/cli/doctor.el index 61fa44a86..312179499 100644 --- a/core/cli/doctor.el +++ b/core/cli/doctor.el @@ -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\\.https://github.com"))) + (unless (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"