From 312392b786a7ea322914b60760e2693b53772ad6 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Sat, 9 Oct 2021 08:44:31 +0200 Subject: [PATCH] Revert buffers when applying stash --- helm-ls-git.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm-ls-git.el b/helm-ls-git.el index c90ba13..f13c6bf 100644 --- a/helm-ls-git.el +++ b/helm-ls-git.el @@ -1212,7 +1212,8 @@ object will be passed git rebase i.e. git rebase -i ." (window-height . fit-window-to-buffer) (preserve-size . (nil . t))) nil - (apply #'process-file "git" nil t t "apply" patchs))))) + (apply #'process-file "git" nil t t "apply" patchs) + (helm-ls-git-revert-buffers-in-project))))) (defvar helm-ls-git-stashes-source (helm-build-in-buffer-source "Stashes"