0

Is there a way to remove a confirmation when popping a stash? Documentation say nothing about popping the stash. It says however that when dropping more than one stash, it has the confirmation by default.

However, I'm popping only one stash and I still get the confirmation, even after adding (add-to-list 'magit-no-confirm 'drop-stashes) to the config. Has someone made that work?

1 Answer 1

3

You can customize the user option magit-dwim-selection, it is documented in (info "(magit) Completion and Confirmation"). For example,

(cl-nsubstitute '(magit-stash-pop nil t)
                '(magit-stash-pop nil ask)
                magit-dwim-selection
                :test #'equal)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.