aboutsummaryrefslogtreecommitdiff
path: root/internal/unsorted/http_handle_repo_index.go
diff options
context:
space:
mode:
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