1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/pkg/commands/commit.go

16 lines
535 B
Go
Raw Normal View History

package commands
// Commit : A git commit
type Commit struct {
Sha string
Name string
2019-03-28 11:58:34 +02:00
Status string // one of "unpushed", "pushed", "merged", "rebasing" or "selected"
DisplayString string
Action string // one of "", "pick", "edit", "squash", "reword", "drop", "fixup"
2019-02-24 04:51:52 +02:00
Copied bool // to know if this commit is ready to be cherry-picked somewhere
2019-11-18 00:38:36 +02:00
Tags []string
2020-02-25 11:11:07 +02:00
ExtraInfo string // something like 'HEAD -> master, tag: v0.15.2'
Author string
Date string
}