The contents of the releases
While extracting information from Git, one of the natural things to do is to generate release notes. To generate a release note, you need all the valid information from the repository between this release and the previous release.
We can utilize some of the methods we have used earlier to generate the data we want.
How to do it...
We start by listing the commits between two tags, v2.3.1.201302201838-r
and v3.0.0.201305080800-m7
, and then we build on that information:
- By using
git log
withv3.0.0.201305080800-m7.. v3.0.0.201305080800-m7
, we will get the commits between the tags:
$ git log --oneline v2.3.1.201302201838-r..v3.0.0.201305080800-m700108d0 JGit v3.0.0.201305080800-m7e27993f Add missing @since tagsd7cc6eb Move org.eclipse.jgit.pgm's resource bundle to internal package75e1bdb Merge "URIish: Allow multiple slashes in paths"b032623 Remove unused repository field from RevWalka626f9f Merge "Require a DiffConfig when creating a FollowFilter"
- As we have a lot of...