Magit: Specify depth in magit-repository-directories

master
Pierre Neidhardt 2019-03-05 11:56:07 +01:00
parent bc4bcbc50f
commit 1005ac2915
1 changed files with 3 additions and 3 deletions

View File

@ -278,9 +278,9 @@
;; Avoid conflict with WM.
(define-key magit-mode-map (kbd "s-<tab>") nil)
(setq magit-diff-refine-hunk 'all)
(setq magit-repository-directories '("~/common-lisp" ; TODO: Sync with homesync / homeinit?
"~/projects"
"~/.local/share/emacs/site-lisp"))
(setq magit-repository-directories '(("~/common-lisp" . 1) ; TODO: Sync with homesync / homeinit?
("~/projects" . 1)
("~/.local/share/emacs/site-lisp" . 1)))
(when (require 'magit-todos nil t)
;; REVIEW: Default scanner does not work on Guix because Git needs be compiled with PCRE.
(setq magit-todos-scanner #'magit-todos--scan-with-find|grep)