From 998c1777afeeb44ecf6ba2e735a4d6176a9b339e Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 15 Feb 2025 21:18:06 +0100 Subject: feat: Add tag and branch to log Now it is possible to see tag and branch on the log page. --- templates/gititemcommit.qtpl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/gititemcommit.qtpl.go') 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 } -- cgit v1.2.3