mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 16:29:51 +01:00
fix wrong git tag names and revisions
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
package sonia.scm.repository.spi;
|
package sonia.scm.repository.spi;
|
||||||
|
|
||||||
//~--- non-JDK imports --------------------------------------------------------
|
//~--- non-JDK imports --------------------------------------------------------
|
||||||
@@ -174,7 +175,7 @@ public class GitTagsCommand extends AbstractGitCommand implements TagsCommand
|
|||||||
{
|
{
|
||||||
String name = GitUtil.getTagName(ref);
|
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