blob: d76fa24aed72a70b29ffa6b4474b11d2c8e5585f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{{ with .Repo.Commit .Ctx .Params.ref -}}
{{.Repo.Name}} {{slice .Hash 0 8}}
{{ range .Repo.NameBytes }}-{{end}}---------
{{.ShortMessage}}
{{ with .RestOfMessage -}}
{{ if ne . "" -}}
{{.}}
{{ end -}}
{{ end -}}
=> ../../ 🗂️ Repository
=> ./tree/ 📄 Files
{{ if ne .Parents nil -}}
=> ../../diff/{{.Hash}}^/{{.Hash}} 🔩 Full Diff
{{ else -}}
=> ../../diff/4b825dc642cb6eb9a060e54bf8d69288fbee4904/{{.Hash}} 🔩 Full Diff
{{ end -}}
{{ range .Parents -}}
=> ../{{.}}/ 👤 Parent {{slice . 0 8}}
{{ end -}}
{{ range .Repo.Refs $.Ctx -}}
{{ if .IsTag -}}
{{ if eq $.Params.ref .Hash -}}
=> ../{{.Hash}}/ 🏷️ {{.ShortName}}
{{ end -}}
{{ end -}}
{{ end }}
Authored
--------
{{.AuthorName}}<{{.AuthorEmail}}>
{{.AuthorDate.Format "Mon Jan _2 15:04:05 MST 2006"}}
Committed
---------
{{.CommitterName}}<{{.CommitterEmail}}>
{{.CommitDate.Format "Mon Jan _2 15:04:05 MST 2006"}}
{{ if eq .Parents nil -}}
{{$.Repo.Diffstat $.Ctx "4b825dc642cb6eb9a060e54bf8d69288fbee4904" $.Params.ref}}
{{ else -}}
{{ with index .Parents 0 -}}
{{$.Repo.Diffstat $.Ctx . $.Params.ref}}
{{ end -}}
{{ end -}}
{{ end -}}
|