aboutsummaryrefslogtreecommitdiff
path: root/internal/unsorted/http_handle_repo_index.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-06 08:35:58 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-06 08:35:58 +0800
commit7daf45b862b8f53ecabc969615437994edb49fe8 (patch)
tree1cc369adae791ecb5130d8d9cd2307ebb639cc34 /internal/unsorted/http_handle_repo_index.go
parentMakefile: Silence that bunch of mkdir and cp (diff)
downloadforge-7daf45b862b8f53ecabc969615437994edb49fe8.tar.gz
forge-7daf45b862b8f53ecabc969615437994edb49fe8.tar.zst
forge-7daf45b862b8f53ecabc969615437994edb49fe8.zip
git2c, git2d: Rename cmd1 and cmd2 descriptivelyv0.1.31
Diffstat (limited to 'internal/unsorted/http_handle_repo_index.go')
-rw-r--r--internal/unsorted/http_handle_repo_index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/unsorted/http_handle_repo_index.go b/internal/unsorted/http_handle_repo_index.go
index f2bb480..03eed77 100644
--- a/internal/unsorted/http_handle_repo_index.go
+++ b/internal/unsorted/http_handle_repo_index.go
@@ -25,7 +25,7 @@ func (s *Server) httpHandleRepoIndex(w http.ResponseWriter, req *http.Request, p
}
defer client.Close()
- commits, readme, err := client.Cmd1(repoPath)
+ commits, readme, err := client.CmdIndex(repoPath)
if err != nil {
web.ErrorPage500(s.templates, w, params, err.Error())
return