chiark / gitweb /
dot/emacs: Include the graph diagram in Magit status displays.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 26 Jun 2018 19:31:08 +0000 (20:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 26 Jun 2018 19:31:29 +0000 (20:31 +0100)
dot/emacs

index cf5097c0ee63cffb8967d0e8b60d19c445a3f5d7..4240f51071443ca47bb14f2aa859bb8974d1b592 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
@@ -74,7 +74,8 @@
      (not (memq 'git vc-handled-backends))
      (setq vc-handled-backends (cons 'GIT vc-handled-backends)))
 
-(setq magit-log-cutoff-length 512)
+(setq magit-log-cutoff-length 512
+      magit-log-section-arguments '("-n256" "--decorate" "--graph"))
 (defun mdw-magit-try-load-config-extensions ()
   (trap (magit-load-config-extensions)))
 (add-hook 'magit-mode-hook 'mdw-magit-try-load-config-extensions)