You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models/git/branch.go
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,7 @@ type Branch struct {
109
109
Repo*repo_model.Repository`xorm:"-"`
110
110
Namestring`xorm:"UNIQUE(s) NOT NULL"`// git's ref-name is case-sensitive internally, however, in some databases (mssql, mysql, by default), it's case-insensitive at the moment
111
111
CommitIDstring
112
+
CommitCountint64// the number of commits in this branch
112
113
CommitMessagestring`xorm:"TEXT"`// it only stores the message summary (the first line)
0 commit comments