mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-97728 Git branch does not show in commit info
This commit is contained in:
@@ -157,7 +157,8 @@ public class DetailsCache {
|
||||
@Override
|
||||
public void run(@NotNull ProgressIndicator indicator) {
|
||||
if (!recheck.process(abstractHash)) return;
|
||||
if (getBranches(root, abstractHash) != null) return;
|
||||
List<String> branches1 = getBranches(root, abstractHash);
|
||||
if (branches1 != null && ! branches1.isEmpty()) return;
|
||||
List<String> branches;
|
||||
try {
|
||||
branches = new LowLevelAccessImpl(myProject, root).getBranchesWithCommit(abstractHash.getString());
|
||||
|
||||
@@ -495,7 +495,7 @@ public class GitLogUI implements Disposable {
|
||||
if (commitI == null) return;
|
||||
final VirtualFile root = commitI.selectRepository(myRootsUnderVcs);
|
||||
final List<String> branches = myDetailsCache.getBranches(root, commitI.getHash());
|
||||
if (branches != null) {
|
||||
if (branches != null && ! branches.isEmpty()) {
|
||||
try {
|
||||
myBranchesLoader.take(commitI, branches);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user