diff --git a/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt b/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt index e81466abfd48..9a697be36b92 100644 --- a/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt +++ b/plugins/git4idea/src/git4idea/stash/GitStashUtils.kt @@ -106,7 +106,10 @@ object GitStashOperations { h.addParameters("clear") try { ProgressManager.getInstance().runProcessWithProgressSynchronously( - ThrowableComputable { Git.getInstance().runCommand(h).throwOnError() }, + ThrowableComputable { + Git.getInstance().runCommand(h).throwOnError() + refreshStash(project, root) + }, GitBundle.message("unstash.clearing.stashes"), false, project