LogData (@NotNull VirtualFile root, @NotNull Consumer<? super TimedVcsCommit> commitConsumer) { LOG.debug("readAllHashes"); try { myFullLogSemaphore.acquire(); } catch (InterruptedException e) { throw new RuntimeException(e); } LOG.debug("readAllHashes passed the semaphore"); for (TimedVcsCommit commit : myCommits) { commitConsumer.consume(commit); } return new LogDataImpl(myRefs, Collections.emptySet()); }