[git] tracked branch appears twice in branch filter: under tracked group and under corresponding remote group

IDEA-129339
This commit is contained in:
Julia Beliaeva
2016-12-08 19:27:39 +03:00
parent b370b6f6a1
commit 2a52c5d620
@@ -115,12 +115,10 @@ public class GitRefManager implements VcsLogRefManager {
localBranches.add(ref);
}
else if (allRemote.containsKey(refName)) {
remoteRefGroups.putValue(allRemote.get(refName), ref);
if (tracked.contains(refName)) {
trackedBranches.add(ref);
}
else {
remoteRefGroups.putValue(allRemote.get(refName), ref);
}
}
else {
LOG.debug("Didn't find ref neither in local nor in remote branches: " + ref);