Fix projectile-vc not working on remotes

Mentioned in #3437
This commit is contained in:
Henrik Lissner 2020-06-24 18:40:41 -04:00
parent 28a3d8b908
commit 58fa2b1c7d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -15,11 +15,7 @@
;; Don't autosave repo buffers. This is too magical, and saving can
;; trigger a bunch of unwanted side-effects, like save hooks and
;; formatters. Trust us to know what we're doing.
magit-save-repository-buffers nil
;; Magit runs git *a lot*. Having to scan your PATH so many times can
;; add up with each invokation, especially on Catalina (macOS) or
;; Windows, so we resolve it once.
magit-git-executable (executable-find magit-git-executable))
magit-save-repository-buffers nil)
(add-hook 'magit-process-mode-hook #'goto-address-mode)
(defadvice! +magit-revert-repo-buffers-deferred-a (&rest _)