commit ff0877c7f580738f1474b00469a7db2fd8de18d4
parent 6819f360e85c29a2d641c15ff8da8589026c2528
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 30 Apr 2020 00:09:41 +0200
config-vcs.el: add submodules to magit
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/emacs/config/config-vcs.el b/tools/emacs/config/config-vcs.el
@@ -94,11 +94,10 @@
;; Hide "Recent Commits"
(magit-add-section-hook 'magit-status-sections-hook
- 'magit-insert-unpulled-from-upstream
+ 'magit-insert-modules
'magit-insert-unpushed-to-upstream
- 'magit-insert-unpushed-to-upstream-or-recent
- 'magit-insert-submodules
- 'replace)
+ 'magit-insert-unpulled-from-upstream)
+ (setq-default magit-module-sections-nested nil)
;; Show refined hunks during diffs
(set-default 'magit-diff-refine-hunk t)