summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-25 23:33:20 -0400
committerKyle Meyer <kyle@kyleam.com>2015-03-25 23:33:20 -0400
commitaf9496b115a855323223ecf4e2cedc2daf052c23 (patch)
tree4a417dda9f569daaeb751f471240bf486a7f3863 /lisp
parent27e57ae520ecd760020f985a80395afe54f12f69 (diff)
downloademacs.d-af9496b115a855323223ecf4e2cedc2daf052c23.tar.gz
Reorganize magit-define-popup-action calls
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el17
1 files changed, 10 insertions, 7 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 45a6f0c..d8ae3d3 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -261,28 +261,31 @@ the commit buffer. And no dinging."
(magit-define-popup-action 'magit-commit-popup
?u "Auto commit" 'km/magit-auto-commit)
+
(magit-define-popup-action 'magit-push-popup
?a "Push all" 'km/magit-push-all)
(magit-define-popup-action 'magit-push-popup
?h "Push HEAD" 'km/magit-push-head)
+
(magit-define-popup-action 'magit-merge-popup
?u "Merge upstream" 'km/magit-ff-merge-upstream)
- (magit-define-popup-action 'magit-branch-popup
- ?t "Local tracking" 'km/magit-checkout-local-tracking)
- (magit-define-popup-action 'magit-branch-popup
- ?s "Backup current branch" 'km/magit-backup-branch)
- (magit-define-popup-action 'magit-branch-popup
- ?C "Create" 'magit-branch)
+
(magit-define-popup-action 'magit-branch-popup
?c "Create & checkout from current"
'km/magit-branch-and-checkout-from-current)
(magit-define-popup-action 'magit-branch-popup
+ ?C "Create" 'magit-branch)
+ (magit-define-popup-action 'magit-branch-popup
?l "Delete previous branch"
'km/magit-delete-previous-branch)
(magit-define-popup-action 'magit-branch-popup
+ ?m "Checkout master" 'km/magit-checkout-master)
+ (magit-define-popup-action 'magit-branch-popup
?p "Checkout previous" 'km/magit-checkout-previous-branch)
(magit-define-popup-action 'magit-branch-popup
- ?m "Checkout master" 'km/magit-checkout-master)
+ ?s "Backup current branch" 'km/magit-backup-branch)
+ (magit-define-popup-action 'magit-branch-popup
+ ?t "Local tracking" 'km/magit-checkout-local-tracking)
(defadvice magit-merge-editmsg (around km/magit-merge-editmsg-no-ff activate)
"Set '--no-ff' flag when running `magit-merge-editmsg'."