Skip to content

Commit

Permalink
magit: do not ask to stage
Browse files Browse the repository at this point in the history
  • Loading branch information
mcraveiro committed Feb 29, 2024
1 parent cee8f9e commit d8a6d12
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions config/development.org
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,14 @@ Git clients exist, only Magit and Git itself deserve to be called porcelains.
:hook
(magit-post-stage-hook . cunene/magit-recenter)
:config
(setq epg-pinentry-mode 'loopback)
(setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1)
(setq magit-diff-highlight-hunk-region-functions
'(magit-diff-highlight-hunk-region-using-face))
(setq magit-diff-refine-hunk 'all)
(setq magit-module-sections-nested nil)
(setq magit-section-initial-visibility-alist
(setq epg-pinentry-mode 'loopback
magit-commit-ask-to-stage 'stage ;; do not ask to stage
magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1
magit-diff-highlight-hunk-region-functions
'(magit-diff-highlight-hunk-region-using-face)
magit-diff-refine-hunk 'all
magit-module-sections-nested nil
magit-section-initial-visibility-alist
'((modules . show) (stashes . show) (unpulled . show) (unpushed . show)))
(magit-add-section-hook
'magit-status-sections-hook 'magit-insert-modules-overview 'magit-insert-merge-log)
Expand Down

0 comments on commit d8a6d12

Please sign in to comment.