private void commitChunkFiles(@NotNull List<String> chunk, boolean amendCommit, boolean closeBranch) throws VcsException {
    commitChunkFiles(chunk, amendCommit, false, closeBranch);
  }
private void commitChunkFiles(@NotNull List<String> chunk, boolean amendCommit, boolean closeBranch)