Software.Development.
  • Home
  • Projects
  • Privacy Policy
  • Imprint

JGit

A collection of 1 post
java

Getting commits between annotated tags with JGit

JGit does not support getting commits between annotated tags (or any revision and an annotated tag) as you might expect. Following code will work perfectly with commit hashs and branch identifiers: public Iterable<RevCommit> getJGitLogBetween(final String rev1, final String rev2) throws IOException, GitAPIException { Ref refFrom = repo.getRef(
Jun 18, 2015 1 min read
Page 1 of 1
Software.Development. © 2025
Powered by Ghost