aboutsummaryrefslogtreecommitdiff
path: root/internal/unsorted/http_handle_repo_raw.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/unsorted/http_handle_repo_raw.go')
-rw-r--r--internal/unsorted/http_handle_repo_raw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/unsorted/http_handle_repo_raw.go b/internal/unsorted/http_handle_repo_raw.go
index 7849d48..3d999e5 100644
--- a/internal/unsorted/http_handle_repo_raw.go
+++ b/internal/unsorted/http_handle_repo_raw.go
@@ -32,7 +32,7 @@ func (s *Server) httpHandleRepoRaw(writer http.ResponseWriter, request *http.Req
}
defer client.Close()
- files, content, err := client.Cmd2(repoPath, pathSpec)
+ files, content, err := client.CmdTreeRaw(repoPath, pathSpec)
if err != nil {
web.ErrorPage500(s.templates, writer, params, err.Error())
return