Commit f77d1158 authored by Jonas Bernoulli's avatar Jonas Bernoulli

magit-repository-directories: Add some default directories

If these directories do not actually exist or don't contain any
repositories, then that isn't much of a problem but it helps users of
`borg'.  Users who want to use that features that use the value of
this option have to customize this anyway (except now `borg' users),
so the default being non-nil shouldn't upset anyone.
parent b82228bc
......@@ -37,14 +37,16 @@
;;; Options
(defcustom magit-repository-directories nil
(defcustom magit-repository-directories
'(("~/.emacs.d/" . 0) ; this should always be a repository
("~/.emacs.d/lib/" . 1)) ; useful for `borg' users
"List of directories that are or contain Git repositories.
Each element has the form (DIRECTORY . DEPTH). DIRECTORY has
to be a directory or a directory file-name, a string. DEPTH,
an integer, specifies the maximum depth to look for Git
repositories. If it is 0, then only add DIRECTORY itself."
:package-version '(magit . "2.8.0")
:package-version '(magit . "2.90.0")
:group 'magit-essentials
:type '(repeat (cons directory (integer :tag "Depth"))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment