GitImporterException {
LOGGER.debug("******Extracting history for tag/release " + tag + "******");
// Creating the release
List<Commit> commits = fDotGit.getLog(options);
if (!commits.isEmpty()) {
Commit lastCommit = commits.get(commits.size() - 1);
fMapper.createRelease(tag, lastCommit.getDateString());
// Iterating over the commits in reverse order, from the oldest to the newest.
for (Commit commit : commits) {
LOGGER.debug("extracting data for commit " + commit.getSha());
if (commit.getFiles() != null) {
if (fFetchSrc) {