1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

Add IsAnnotated field to models.Tag struct

This commit is contained in:
Stefan Haller
2025-06-24 13:41:33 +02:00
parent 718cbdb48c
commit b12b1040c3
3 changed files with 30 additions and 23 deletions

View File

@ -3,9 +3,13 @@ package models
// Tag : A git tag
type Tag struct {
Name string
// this is either the first line of the message of an annotated tag, or the
// first line of a commit message for a lightweight tag
Message string
// true if this is an annotated tag, false if it's a lightweight tag
IsAnnotated bool
}
func (t *Tag) FullRefName() string {