Merge "Add reflog message to TagCommand"
This commit is contained in:
commit
44b4f458a8
|
@ -145,6 +145,7 @@ public RevTag call() throws JGitInternalException,
|
|||
RefUpdate tagRef = repo.updateRef(refName);
|
||||
tagRef.setNewObjectId(tagId);
|
||||
tagRef.setForceUpdate(forceUpdate);
|
||||
tagRef.setRefLogMessage("tagged " + name, false);
|
||||
Result updateResult = tagRef.update(revWalk);
|
||||
switch (updateResult) {
|
||||
case NEW:
|
||||
|
|
Loading…
Reference in New Issue