{{ index $messageParts 0 }}
{{ if gt (len $messageParts) 1 }}{{ nl2br (unwrapText (index $messageParts 1)) }}
{{ end }}{{ $commit.Author.Name }} {{ timeFmt $commit.Author.When }} {{ $stat.FilesChanged }} files (+{{ $stat.Insertions }}, -{{ $stat.Deletions }})
{{ slice $commit.This 0 8 }} {{ if $commit.Parent }} {{ slice $commit.Parent 0 8 }} {{ end }}
This file has been deleted in this commit.
{{ else }} {{ if .IsBinary }}This is a binary file and will not be displayed.
{{ else }}
{{- range .TextFragments -}}
{{ .Header }}
{{- range .Lines -}}
{{- if eq .Op.String "+" -}}
{{ .Op.String }}{{ .Line }}
{{- end -}}
{{- if eq .Op.String "-" -}}
{{ .Op.String }}{{ .Line }}
{{- end -}}
{{- if eq .Op.String " " -}}
{{ .Op.String }}{{ .Line }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{ end }}