From 7daf45b862b8f53ecabc969615437994edb49fe8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 08:35:58 +0800 Subject: git2c, git2d: Rename cmd1 and cmd2 descriptively --- internal/unsorted/http_handle_repo_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/unsorted/http_handle_repo_index.go') 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 -- cgit v1.2.3