From af0b336cdf9e7cd81e706758d8a74623f4e33140 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 16:35:26 +0800 Subject: [PATCH] repo_index: Link to repo log --- handle_repo_log.go | 1 + templates/repo_index.html.tmpl | 2 +- diff --git a/handle_repo_log.go b/handle_repo_log.go index 88b1f060f91db3aeecb429a00dd558e65e738200..6a2d8bb138a5b5ba0793b63b313e5c2a876259d9 100644 --- a/handle_repo_log.go +++ b/handle_repo_log.go @@ -6,6 +6,7 @@ "github.com/go-git/go-git/v5/plumbing" ) +// TODO: I probably shouldn't include *all* commitsh here... func handle_repo_log(w http.ResponseWriter, r *http.Request) { data := make(map[string]any) // TODO: Sanitize path values diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 2cc3a840a2cca92bfc71f092973050d732700d0d..7c5422d2b1bb36363a70e19073dc296425898b12 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -10,7 +10,7 @@
- + -- 2.48.1
Recent CommitsRecent Commits (see all)
ID