2018-09-17 13:02:30 +02:00
|
|
|
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"
|
2018-09-17 13:02:30 +02:00
|
|
|
DisplayString string
|
2019-02-19 14:36:29 +02:00
|
|
|
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
|
2018-09-17 13:02:30 +02:00
|
|
|
}
|