summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-08-12 23:48:58 -0400
committerKyle Meyer <kyle@kyleam.com>2015-08-12 23:48:58 -0400
commit61bd50d0a083db01491d40e1efa54ed19b652473 (patch)
tree5a8c3ce044ac9e41d4737a771e505e270e24fee8 /lisp
parentb44ea361e9deb7878720c66d4bb1154944354e5b (diff)
downloademacs.d-61bd50d0a083db01491d40e1efa54ed19b652473.tar.gz
Set magit-no-confirm
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 075bf80..14d86c2 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -26,6 +26,8 @@
(setq git-commit-finish-query-functions nil)
+(setq magit-no-confirm '(stage-all-changes unstage-all-changes reverse))
+
(add-hook 'magit-find-file-hook 'view-mode)
;; http://whattheemacsd.com/setup-magit.el-01.html
(add-hook 'magit-status-mode-hook 'delete-other-windows)