diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java index 27248529f..45b0ca4ed 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java @@ -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: