dmitri.shuralyov.com/service/change

Display number of commits in tabnav.
dmitshur committed 7 years ago commit dded58d49b7152c79eef268540c369969021345a
Showing partial commit. Full Commit
Collapse all
changes.go
@@ -36,10 +36,12 @@ type Change struct {
	Title     string
	Labels    []issues.Label
	Author    users.User
	CreatedAt time.Time
	Replies   int // Number of replies to this change (not counting the mandatory change description comment).

	Commits int // Number of commits (not populated during list operation).
}

type Commit struct {
	SHA        string
	Message    string