mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 19:15:52 +01:00
fix wrong git tag names and revisions
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user