[git] Fix unstash after update.

Fix the typo with double-negation: restore changes if update result is success.
This commit is contained in:
Kirill Likhodedov
2012-06-08 13:56:20 +04:00
parent dd31b3ac42
commit becbc9ad4f
@@ -205,7 +205,7 @@ public class GitUpdateProcess {
notifyImportantError(myProject, "Error updating " + rootName,
"Updating " + rootName + " failed with an error: " + e.getLocalizedMessage());
} finally {
if (incomplete || !!compoundResult.isSuccess()) {
if (incomplete || !compoundResult.isSuccess()) {
mySaver.notifyLocalChangesAreNotRestored();
}
else {