summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-12-23 23:26:14 -0500
committerKyle Meyer <kyle@kyleam.com>2020-12-24 00:25:22 -0500
commit02ad0032fc5d6c038fc800ec29b44c866b602b13 (patch)
tree36beb5c0954ae416b03ca698c5d7969999a42737 /init.el
parent991b0bb3a1d86b5ef2347597ca85a0fff5148c3b (diff)
downloademacs.d-02ad0032fc5d6c038fc800ec29b44c866b602b13.tar.gz
magit-no-confirm: Add set-and-push
This is new in Magit's 300ad559 (Optionally confirm setting and pushing to upstream or push-target, 2020-12-21).
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.el b/init.el
index 74f7468..c63f930 100644
--- a/init.el
+++ b/init.el
@@ -917,7 +917,10 @@
(setq magit-commit-show-diff nil)
- (setq magit-no-confirm '(stage-all-changes unstage-all-changes reverse))
+ (setq magit-no-confirm '(set-and-push
+ stage-all-changes
+ unstage-all-changes
+ reverse))
(setq magit-published-branches nil)
(setq magit-remote-add-set-remote.pushDefault nil)