From 5ba3fc32c00cbce8ebb2dd6b3e34fe91a9a02216 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 1 Sep 2020 22:15:45 -0400 Subject: magit: Add two custom patch commands --- init.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'init.el') 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/" -- cgit v1.2.3