docs: protected void addCommitsAsChildren( Git git,
                                           CallSpecification spec,
                                           DocumentWriter writer,
                                           int pageSize ) throws GitAPIException {
          // Add commits in the log ...
          LogCommand command = git.log();
          command.setSkip(0);
          command.setMaxCount(pageSize);
  
          // Add the first set of commits ...
          int actual = 0;
          String commitId = null;
          for (RevCommit commit : command.call()) {
              commitId = commit.getName();
              writer.addChild(spec.childId(commitId), commitId);
              ++actual;
          }
          if (actual == pageSize) {
              // We wrote the maximum number of commits, so there's (probably) another page ...
              writer.addPage(spec.getId(), commitId, pageSize, PageWriter.UNKNOWN_TOTAL_SIZE);
          }
      }