Browse Source

Merge "Add reflog message to TagCommand"

tags/v0.10.1
Chris Aniszczyk 13 years ago
parent
commit
44b4f458a8
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java

+ 1
- 0
org.eclipse.jgit/src/org/eclipse/jgit/api/TagCommand.java View File

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