Browse Source

Merge "Add reflog message to TagCommand"

stable-0.10
Chris Aniszczyk 14 years ago committed by Code Review
parent
commit
44b4f458a8
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java

1
org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java

@ -145,6 +145,7 @@ public class TagCommand extends GitCommand<RevTag> {
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…
Cancel
Save