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:
parent
5252623ca7
commit
7c36c3edf9
1 changed files with 1 additions and 13 deletions
|
@ -634,19 +634,7 @@
|
||||||
#'magit-branch
|
#'magit-branch
|
||||||
["c"]
|
["c"]
|
||||||
(list "C" "Checkout Clubhouse branch" #'magit-checkout-org-clubhouse-branch))
|
(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)
|
;; (defun grfn/split-window-more-sensibly (&optional window)
|
||||||
;; (let ((window (or window (selected-window))))
|
;; (let ((window (or window (selected-window))))
|
||||||
|
|
Loading…
Reference in a new issue