@NotNull
  private TextFilePatch buildAddedFile(@NotNull AirContentRevision afterRevision) throws VcsException {
    TextFilePatch result = buildPatchHeading(afterRevision, afterRevision);
    result.setFileStatus(FileStatus.ADDED);
    String content = afterRevision.getContentAsString();
    if (!content.isEmpty()) {
      result.addHunk(createWholeFileHunk(content, true, false));
    }
    return result;
  }
@NotNull
  private TextFilePatch buildAddedFile(@NotNull AirContentRevision afterRevision)