From 60004cfb97fe0eb64d1c8310e7c9caae96b8adbe Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 4 Aug 2024 14:44:36 +0200 Subject: feat: Add diff view Adds a very simple diff view for a commit --- templates/gititemcommit.qtpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/gititemcommit.qtpl') diff --git a/templates/gititemcommit.qtpl b/templates/gititemcommit.qtpl index 77536f1..d223315 100644 --- a/templates/gititemcommit.qtpl +++ b/templates/gititemcommit.qtpl @@ -3,6 +3,7 @@ {% code type GitItemCommitPage struct { Commit *object.Commit + Diff string } %} @@ -12,8 +13,7 @@ type GitItemCommitPage struct {
{%= Commit(name, g.Commit, true) %}
- -