From 1265c3c27e4aaf51ef17dfc3fbaee2e04af9b6dc Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Sun, 16 Sep 2018 19:09:33 +0300 Subject: [PATCH] git: update repository info after Update Project --- plugins/git4idea/src/git4idea/update/GitUpdater.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/git4idea/src/git4idea/update/GitUpdater.java b/plugins/git4idea/src/git4idea/update/GitUpdater.java index 05585aa3b708..6b855bc5b949 100644 --- a/plugins/git4idea/src/git4idea/update/GitUpdater.java +++ b/plugins/git4idea/src/git4idea/update/GitUpdater.java @@ -144,8 +144,11 @@ public abstract class GitUpdater { public GitUpdateResult update() throws VcsException { markStart(myRoot); try { - return doUpdate(); - } finally { + GitUpdateResult result = doUpdate(); + myRepository.update(); + return result; + } + finally { markEnd(myRoot); } }