Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2016-10-30 17:47:56 -0400
committerMatthias Sohn2016-10-30 17:48:35 -0400
commitc84b1786f23e676b67433378f5914720dea75faa (patch)
tree4780d2886a7b547e200aca8e7932de85b243716e /org.eclipse.egit.gitflow
parent86f1f1314db40021a049b4d2d3236399b71355c2 (diff)
parentfca4b977171a4f510def0b20a5d9b4f5506df6c8 (diff)
downloadegit-c84b1786f23e676b67433378f5914720dea75faa.tar.gz
egit-c84b1786f23e676b67433378f5914720dea75faa.tar.xz
egit-c84b1786f23e676b67433378f5914720dea75faa.zip
Merge branch 'stable-4.5'
* stable-4.5: [gitflow] Set PersonIdent when creating a tag while finishing release Change-Id: I0eeee8527442976ddbb4380103a27d7183338c7e Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.gitflow')
-rw-r--r--org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/AbstractVersionFinishOperation.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/AbstractVersionFinishOperation.java b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/AbstractVersionFinishOperation.java
index bfc5cdccf..c472259d7 100644
--- a/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/AbstractVersionFinishOperation.java
+++ b/org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/op/AbstractVersionFinishOperation.java
@@ -19,6 +19,7 @@ import org.eclipse.egit.core.op.TagOperation;
import org.eclipse.egit.gitflow.GitFlowRepository;
import org.eclipse.egit.gitflow.WrongGitFlowStateException;
import org.eclipse.egit.gitflow.internal.CoreText;
+import org.eclipse.jgit.lib.PersonIdent;
import org.eclipse.jgit.lib.TagBuilder;
import org.eclipse.jgit.revwalk.RevCommit;
@@ -81,6 +82,7 @@ abstract public class AbstractVersionFinishOperation extends GitFlowOperation {
String name, String message) throws CoreException {
TagBuilder tag = new TagBuilder();
tag.setTag(name);
+ tag.setTagger(new PersonIdent(repository.getRepository()));
tag.setMessage(message);
tag.setObjectId(head);
new TagOperation(repository.getRepository(), tag, false)

Back to the top