feat(g/emacs): Break out magit commands

Since these are defined in tvl.el now

Change-Id: I34c249dceef33dac46ffe5db8b42f057d2c12a4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/556
Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
Griffin Smith 2020-06-22 09:18:00 -04:00 committed by glittershark
parent 5252623ca7
commit 7c36c3edf9

View file

@ -634,19 +634,7 @@
#'magit-branch
["c"]
(list "C" "Checkout Clubhouse branch" #'magit-checkout-org-clubhouse-branch))
(define-suffix-command magit-push-and-submit ()
(interactive)
(magit-push-refspecs
"origin" "HEAD:refs/for/master%l=Code-Review+2,publish-comments,submit"
nil))
(transient-append-suffix
#'magit-push
["r"]
(list "P" "Push and submit to gerrit"
#'magit-push-and-submit)))
)
;; (defun grfn/split-window-more-sensibly (&optional window)
;; (let ((window (or window (selected-window))))