{{ define "repo/fragments/diff" }}
{{ $repo := index . 0 }}
{{ $diff := index . 1 }}
{{ $commit := $diff.Commit }}
{{ $diff := $diff.Diff }}
{{ $this := $commit.This }}
{{ $parent := $commit.Parent }}
{{ $last := sub (len $diff) 1 }}
{{ range $idx, $hunk := $diff }}
{{ with $hunk }}
This file has been deleted.
This file has been copied.
This is a binary file and will not be displayed.
{{- end -}}