summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)