Merge "Add reflog message to TagCommand"

This commit is contained in:
Chris Aniszczyk 2010-09-29 10:09:43 -04:00 committed by Code Review
commit 44b4f458a8
1 changed files with 1 additions and 0 deletions

View File

@ -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: