From 1e14d4d35d90923a6108be568185a3f0961bdd2e Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Tue, 8 Oct 2024 20:18:05 +0200 Subject: fix: User author info instead of committer Make use of the correct information when displaying commit info. --- templates/commit.qtpl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/commit.qtpl.go') diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go index 9a25741..fac2e88 100644 --- a/templates/commit.qtpl.go +++ b/templates/commit.qtpl.go @@ -77,11 +77,11 @@ func StreamCommit(qw422016 *qt422016.Writer, name string, c *object.Commit, show //line templates/commit.qtpl:15 qw422016.N().S(`" href="mailto:`) //line templates/commit.qtpl:15 - qw422016.E().S(c.Committer.Email) + qw422016.E().S(c.Author.Email) //line templates/commit.qtpl:15 qw422016.N().S(`">`) //line templates/commit.qtpl:15 - qw422016.E().S(c.Committer.Name) + qw422016.E().S(c.Author.Name) //line templates/commit.qtpl:15 qw422016.N().S(` -- cgit v1.2.3