summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-12-06 22:07:46 -0500
committerKyle Meyer <kyle@kyleam.com>2016-12-06 22:07:46 -0500
commit3b596fdbef91a3ea43a1096ecb23935f47428345 (patch)
tree605e05ae4b4bbf58f2e33e2a38c491843da0e61a /init.el
parent9383d7d979ab0f0cbf96a1522e3fb15d1ecc8b56 (diff)
downloademacs.d-3b596fdbef91a3ea43a1096ecb23935f47428345.tar.gz
magit: Shorten number of commits in log
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1743f67..709e8e6 100644
--- a/init.el
+++ b/init.el
@@ -886,6 +886,11 @@
magit-revision-insert-related-refs nil
magit-log-section-arguments nil)
+ (setq magit-log-arguments
+ (cons "-n75" (cl-remove-if
+ (lambda (x) (string-prefix-p "-n" x))
+ magit-log-arguments)))
+
(dolist (margin (list magit-cherry-margin
magit-log-margin
magit-log-select-margin