diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-02-15 21:18:06 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-02-15 21:18:06 +0100 |
commit | 998c1777afeeb44ecf6ba2e735a4d6176a9b339e (patch) | |
tree | cd559a07a3a4a2e529947549f6352b6202031a23 /templates/gititemcommit.qtpl.go | |
parent | 27400b0fce5d4ef3b7fd5ef4d25bac8f00754e33 (diff) | |
download | cerrado-998c1777afeeb44ecf6ba2e735a4d6176a9b339e.tar.gz cerrado-998c1777afeeb44ecf6ba2e735a4d6176a9b339e.tar.bz2 cerrado-998c1777afeeb44ecf6ba2e735a4d6176a9b339e.zip |
feat: Add tag and branch to log
Now it is possible to see tag and branch on the log page.
Diffstat (limited to 'templates/gititemcommit.qtpl.go')
-rw-r--r-- | templates/gititemcommit.qtpl.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gititemcommit.qtpl.go b/templates/gititemcommit.qtpl.go index 7e458f3..b790220 100644 --- a/templates/gititemcommit.qtpl.go +++ b/templates/gititemcommit.qtpl.go @@ -5,7 +5,7 @@ package templates //line templates/gititemcommit.qtpl:1 -import "github.com/go-git/go-git/v5/plumbing/object" +import "git.gabrielgio.me/cerrado/pkg/git" //line templates/gititemcommit.qtpl:3 import ( @@ -22,7 +22,7 @@ var ( //line templates/gititemcommit.qtpl:4 type GitItemCommitPage struct { - Commit *object.Commit + Commit *git.CommitReference Diff []byte } |