aboutsummaryrefslogtreecommitdiff
path: root/internal/unsorted/http_handle_repo_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/unsorted/http_handle_repo_tree.go')
-rw-r--r--internal/unsorted/http_handle_repo_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/unsorted/http_handle_repo_tree.go b/internal/unsorted/http_handle_repo_tree.go
index cbbba98..96920f6 100644
--- a/internal/unsorted/http_handle_repo_tree.go
+++ b/internal/unsorted/http_handle_repo_tree.go
@@ -33,7 +33,7 @@ func (s *Server) httpHandleRepoTree(writer http.ResponseWriter, request *http.Re
}
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