summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-09-01 22:15:45 -0400
committerKyle Meyer <kyle@kyleam.com>2020-09-01 22:57:19 -0400
commit5ba3fc32c00cbce8ebb2dd6b3e34fe91a9a02216 (patch)
treece8ddd91c1d9310596278e2f3231d6556e8550aa /init.el
parent7274025eafccc65f4a8496f4e5290727cd9d2731 (diff)
downloademacs.d-5ba3fc32c00cbce8ebb2dd6b3e34fe91a9a02216.tar.gz
magit: Add two custom patch commands
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el
index 530efd3..3001f8f 100644
--- a/init.el
+++ b/init.el
@@ -1190,7 +1190,14 @@
'("V" "Back up current branch, v" km/magit-branch-version))
(transient-append-suffix 'magit-branch "c"
- '("m" "Checkout master" km/magit-checkout-master)))
+ '("m" "Checkout master" km/magit-checkout-master))
+
+ (after 'magit-patch
+ (transient-append-suffix 'magit-patch-create "c"
+ '("u" "@{upstream}.." km/magit-patch-create-from-upstream))
+
+ (transient-append-suffix 'magit-patch-create "u"
+ '("s" "series" km/magit-patch-create-series))))
(use-package magit-annex
:load-path "~/src/emacs/magit-annex/"