-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
When I do
Pager<Commit> commitPager = gitLabApi.getCommitsApi().getCommits(project.getId(), ITEMS_PER_PAGE);
while (commitPager.hasNext()) {
for (Commit commit : commitPager.next()) {
final CommitStats commitStats = commit.getStats();
if (commitStats != null) {
log.info(commitStats);
additions = Math.addExact(additions, commitStats.getAdditions());
deletions = Math.addExact(deletions, commitStats.getDeletions());
}
}
}
the commitStats are allways null. How do I get non-null CommitStats?
Metadata
Metadata
Assignees
Labels
No labels