From d00be7dc5fe5fde78878a384c9eff2be2eabbdf4 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Wed, 17 Jun 2015 20:17:59 +0400 Subject: [PATCH] IDEA-141480 Changes are lost after push when there are new binary files and shelve strategy is used for update. --- plugins/git4idea/src/git4idea/stash/GitShelveUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/stash/GitShelveUtils.java b/plugins/git4idea/src/git4idea/stash/GitShelveUtils.java index 07ff97fd449c..5629f96ded26 100644 --- a/plugins/git4idea/src/git4idea/stash/GitShelveUtils.java +++ b/plugins/git4idea/src/git4idea/stash/GitShelveUtils.java @@ -98,7 +98,7 @@ public class GitShelveUtils { filesToRefresh.add(new File(projectPath + f.BEFORE_PATH)); } if (f.AFTER_PATH != null) { - filesToRefresh.add(new File(projectPath + f.BEFORE_PATH)); + filesToRefresh.add(new File(projectPath + f.AFTER_PATH)); } } LocalFileSystem.getInstance().refreshIoFiles(filesToRefresh);