https://bugs.kde.org/show_bug.cgi?id=486951

--- Comment #7 from Yaroslav Sidlovsky <zawer...@gmail.com> ---
If `git_tag_lookup` fails to find tag - you can use `git_commit_lookup` to get
commit info.
And later create `Tag` class instance from the commit, something like that:
```
Tag::Tag(const char *refName, git_commit *commit)
{
    mName = QString(refName).remove(QRegularExpression("^refs/tags/"));
    mMessage = git_commit_message(commit);
    const auto author = git_commit_author(commit);
    mTagger.reset(new Signature{author});
}
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to