From ec1e38352f302ab519da59ee2986b51f77b28293 Mon Sep 17 00:00:00 2001 From: irengrig Date: Wed, 23 Jun 2010 13:16:37 +0400 Subject: [PATCH] Git: git log tree: for the case when, due to the filter, we will never see 'first' commit - then stop loading in cycle when wee see the same commit on boundary again --- .../src/git4idea/history/browser/GitTreeController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git4idea/src/git4idea/history/browser/GitTreeController.java b/plugins/git4idea/src/git4idea/history/browser/GitTreeController.java index f0882b70862f..d02161a6b546 100644 --- a/plugins/git4idea/src/git4idea/history/browser/GitTreeController.java +++ b/plugins/git4idea/src/git4idea/history/browser/GitTreeController.java @@ -190,7 +190,7 @@ class GitTreeController implements ManageGitTreeView { if (myCommitList.size() >= maxCnt) break; } } - if (myLastCommit == null || myLastCommit.getParentsHashes().isEmpty()) { + if (myLastCommit == null || myLastCommit.getParentsHashes().isEmpty() || myLastCommit.getHash().equals(lastHash)) { myStartFound = true; break; }