{{define "content"}} {{$owner := .Data.Owner}} {{$repo := .Data.RepoName}} {{$sep := "..."}}{{if not .Data.Spec.ThreeDot}}{{$sep = ".."}}{{end}}

~{{$owner}}/{{$repo}}: {{.Data.Spec.Base}}{{$sep}}{{.Data.Spec.Head}}

{{if .Data.Spec.ThreeDot}} Three-dot comparison (symmetric difference from the merge base). {{if .Data.MergeBase}}Merge base: {{shortsha .Data.MergeBase}}.{{end}} {{else}} Two-dot comparison (direct range {{.Data.Spec.Base}}..{{.Data.Spec.Head}}). {{end}}

{{if .Data.Truncated}}
This diff is too large to render in full. Download the raw patch to see everything.
{{end}}
{{len .Data.Commits}} commit(s)
    {{range .Data.Commits}}
  • {{.ShortSHA}} {{.Subject}} — {{.AuthorName}}, {{reltime .Date}}
  • {{end}}

{{len .Data.Files}} changed file(s)

{{range .Data.Files}} {{end}}
FileStatus+
{{if and .OldPath (ne .OldPath .Path)}}{{.OldPath}} → {{end}}{{.Path}} {{if .Binary}}BIN{{end}} {{.Status}} {{if .Additions}}+{{.Additions}}{{end}} {{if .Deletions}}-{{.Deletions}}{{end}}
{{end}} {{/* See commit.html: the bundle is a chrome asset, guarded on emptiness. */}} {{define "scripts"}} {{with index .Assets "bundle.js"}}{{end}} {{end}}