Exemplo n.º 1
0
 @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();
 }
Exemplo n.º 2
0
 @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();
 }