{{- .commit.Message -}}
{{ .commit.Author.Name }} {{ .commit.Author.Email}}
{{ if .commit.PGPSignature }}
{{ end }}
PGP Signature
{{ .commit.PGPSignature }}
commit
{{ if .commit.Parent }}
parent
{{ end }}
{{ .stat.FilesChanged }} files changed,
{{ .stat.Insertions }} insertions(+),
{{ .stat.Deletions }} deletions(-)
jump to {{ range .diff }} {{ end }}
{{ if .IsNew }}
A
{{ end }}
{{ if .IsDelete }}
D
{{ end }}
{{ if not (or .IsNew .IsDelete) }}
M
{{ end }}
{{ if .Name.Old }}
{{ .Name.Old }}
{{ if .Name.New }}
→
{{ .Name.New }}
{{ end }}
{{ else }}
{{ .Name.New }}
{{- end -}}
{{ if .IsBinary }}
Not showing binary file.
{{ else }}{{- range .TextFragments -}}{{- .Header -}}
{{- range .Lines -}} {{- if eq .Op.String "+" -}} {{ .String }} {{- end -}} {{- if eq .Op.String "-" -}} {{ .String }} {{- end -}} {{- if eq .Op.String " " -}} {{ .String }} {{- end -}} {{- end -}} {{- end -}} {{- end -}}