Add reflog message to TagCommand
Ensure we update the reflog when tagging. Change-Id: I3f4a4d68cbfc62d2276e3a47e3e3720f02cb2522 Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
This commit is contained in:
parent
e84d826eb6
commit
fcc3349cfc
|
@ -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