{{ template "header" .}} {{ template "gist_header" .}} {{ if ne (len .commits) 0 }}
{{ $commit.Changed }} {{ end }}
{{ if $file.IsCreated }} {{ $file.Filename }}(file created) {{ else if $file.IsDeleted }} {{ $file.Filename }} (file deleted) {{ else if ne $file.OldFilename "" }} {{ $file.OldFilename }} renamed to {{ $file.Filename }} {{ else }} {{ $file.Filename }} {{ end }}
Diff truncated because its too large to be shown
{{ else if and (eq $file.Content "") (ne $file.OldFilename "") }}File renamed without changes
{{ else if eq $file.Content "" }}Empty file
{{ else }}{{ else }} {{ if eq (index $line 0) 43 }} | {{ $right }} | {{ $right = inc $right }} {{ else if eq (index $line 0) 45 }}{{ $left }} | {{ $left = inc $left }} {{ else if eq (index $line 0) 32 }} | {{ $left }} | {{ $right }} | {{ $left = inc $left }} {{ $right = inc $right }} {{ end }} {{ end }}{{ if ne (index $line 0) 64 }}{{ slice $line 0 1 }}{{ end }} | {{ if ne (index $line 0) 64 }}{{ slice $line 1 }}{{ else }}{{ $line }}{{ end }} |
No changes
{{end}}