emacs: magit: looks for repos in direct subdirs of ~/src/git/ too
authorAmin Bandali <mab@gnu.org>
Wed, 22 Jan 2020 02:24:09 +0000 (21:24 -0500)
committerAmin Bandali <mab@gnu.org>
Wed, 22 Jan 2020 02:42:29 +0000 (21:42 -0500)
e.g. ~/src/git/emacs/emacs-27 will now be discovered

.emacs.d/init.el

index e36e204..21a1fff 100644 (file)
@@ -857,7 +857,7 @@ around if needed."
   ;;                         'magit-insert-untracked-files
   ;;                         'append)
   (setq magit-repository-directories '(("~/" . 0)
-                                       ("~/src/git/" . 1)))
+                                       ("~/src/git/" . 2)))
   (nconc magit-section-initial-visibility-alist
          '(([unpulled status] . show)
            ([unpushed status] . show)))