fix wrong git tag names and revisions

This commit is contained in:
Sebastian Sdorra
2012-07-24 21:50:44 +02:00
parent 7633d32eb5
commit d45d10de35

View File

@@ -30,6 +30,7 @@
*/
package sonia.scm.repository.spi;
//~--- non-JDK imports --------------------------------------------------------
@@ -174,7 +175,7 @@ public class GitTagsCommand extends AbstractGitCommand implements TagsCommand
{
String name = GitUtil.getTagName(ref);
tag = new Tag(commit.getId().name(), name);
tag = new Tag(name, commit.getId().name());
}
}