aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler/git/handler.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2025-02-15 21:18:06 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2025-02-15 21:18:06 +0100
commit998c1777afeeb44ecf6ba2e735a4d6176a9b339e (patch)
treecd559a07a3a4a2e529947549f6352b6202031a23 /pkg/handler/git/handler.go
parent27400b0fce5d4ef3b7fd5ef4d25bac8f00754e33 (diff)
downloadcerrado-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 'pkg/handler/git/handler.go')
-rw-r--r--pkg/handler/git/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go
index 33adc8d..b825ea4 100644
--- a/pkg/handler/git/handler.go
+++ b/pkg/handler/git/handler.go
@@ -384,7 +384,7 @@ func (g *GitHandler) Commit(w http.ResponseWriter, r *http.Request) error {
Name: name,
Ref: ref,
GitItemBase: &templates.GitItemCommitPage{
- Commit: commit.Commit(),
+ Commit: commit,
Diff: code.Bytes(),
},
}