@Override public Tag tagCreate(TagCreateRequest request) throws GitException { return nativeGit .createTagCreateCommand() .setName(request.getName()) .setCommitter(getLocalCommitter()) .setCommit(request.getCommit()) .setMessage(request.getMessage()) .setForce(request.isForce()) .execute(); }
@Override public Tag tagCreate(TagCreateRequest request) throws GitException { ensureExistenceRepoRootInWorkingDirectory(); return nativeGit .createTagCreateCommand() .setName(request.getName()) .setCommitter(getLocalCommitter()) .setCommit(request.getCommit()) .setMessage(request.getMessage()) .setForce(request.isForce()) .execute(); }