You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varchangeLogName = Util.replace(git.getRepository().getFullBranch(), s -> s.replace("refs/heads/", "")); //Generate a changelog name from the current branch.
46
46
47
47
vartagMap = GitUtils.getCommitToTagMap(git, tagPrefix); //Grab a map between commits and tag names.
48
-
varlog = GitUtils.getCommitLogFromTo(git, tagMap, start, end, tagPrefix, filter); //Get all commits between the start and the end.
49
-
varlogList = newArrayList<RevCommit>(); //And generate a list from it.
50
-
log.forEach(logList::add);
48
+
varlog = Util.toList(GitUtils.getCommitLogFromTo(git, tagMap, start, end, tagPrefix, filter)); //Get all commits between the start and the end.
49
+
tagMap = Util.removePrefix(tagMap, tagPrefix); // Reassign with a new map that removes the prefix
51
50
52
-
varversionMap = GitUtils.buildVersionMap(logList, tagMap); //And generate a version map from this. Mapping each commit to a unique version.
53
-
varprimaryVersionMap = GitUtils.getPrimaryVersionMap(logList, tagMap); //Then determine which commits belong to which identifiable-version mappings.
51
+
varversionMap = GitUtils.buildVersionMap(log, tagMap); //And generate a version map from this. Mapping each commit to a unique version.
52
+
varprimaryVersionMap = GitUtils.getPrimaryVersionMap(log, tagMap); //Then determine which commits belong to which identifiable-version mappings.
54
53
55
54
//Determine the length of each identifiable-versions max-length commit specific version.
56
55
//(How wide does the area in-front of the commit message need to be to fit all versions in the current identifiable-version?)
0 commit comments