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 /pkg/handler | |
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 'pkg/handler')
-rw-r--r-- | pkg/handler/git/handler.go | 2 |
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(), }, } |