emacs: magit: don’t show ignored files for now
authorAmin Bandali <bandali@gnu.org>
Tue, 27 Aug 2019 04:45:35 +0000 (00:45 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 27 Aug 2019 05:38:32 +0000 (01:38 -0400)
.emacs.d/init.el

index e316de7..4002d9a 100644 (file)
@@ -568,10 +568,10 @@ For disabling the behaviour for certain buffers and/or modes."
                           'magit-insert-modules
                           'magit-insert-stashes
                           'append)
                           'magit-insert-modules
                           'magit-insert-stashes
                           'append)
-  (magit-add-section-hook 'magit-status-sections-hook
-                          'magit-insert-ignored-files
-                          'magit-insert-untracked-files
-                          'append)
+  ;; (magit-add-section-hook 'magit-status-sections-hook
+  ;;                         'magit-insert-ignored-files
+  ;;                         'magit-insert-untracked-files
+  ;;                         'append)
   (setq magit-repository-directories '(("~/" . 0)
                                        ("~/src/git/" . 1)))
   (nconc magit-section-initial-visibility-alist
   (setq magit-repository-directories '(("~/" . 0)
                                        ("~/src/git/" . 1)))
   (nconc magit-section-initial-visibility-alist