summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-09 23:39:22 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-10 02:02:34 -0400
commitb8360014457fca8cfa9107d397e0d1765451aaa1 (patch)
tree50aab8ad426995e8b1dac114f28c9b2c4624ce3e /lisp
parenta295eaa1478a97893cae1a10e2c417f5a62f93ee (diff)
downloademacs.d-b8360014457fca8cfa9107d397e0d1765451aaa1.tar.gz
magit-log-popup: Add --first-parent
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index aa0a921..965f6c4 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -500,6 +500,9 @@ function."
(magit-define-popup-action 'magit-diff-popup
?e "Edit options" 'magit-diff-refresh-popup)
+ (magit-define-popup-switch 'magit-log-popup
+ ?p "First parent" "--first-parent")
+
(magit-define-popup-action 'magit-log-popup
?e "Edit options" 'magit-log-refresh-popup)