/** * Search the commits starting at the commit that each tag is referencing. * <p> * Repositories that have no tags will be ignored. * * @return this finder */ public CommitFinder findInTags() { final Repository[] repos = repositories; final int repoCount = repositories.length; Repository repo; for (int i = 0; i < repoCount; i++) { repo = repos[i]; final Collection<RevCommit> commits = CommitUtils.getTags(repo); if (commits.isEmpty()) continue; final RevWalk walk = createWalk(repo); try { walk.markStart(commits); walk(walk); } catch (IOException e) { throw new GitException(e, repo); } finally { walk.close(); } } return this; }