aboutsummaryrefslogtreecommitdiff
path: root/http_handle_repo_raw.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--http_handle_repo_raw.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go
index 6544610..7d25071 100644
--- a/http_handle_repo_raw.go
+++ b/http_handle_repo_raw.go
@@ -26,11 +26,12 @@ func handle_repo_raw(w http.ResponseWriter, r *http.Request, params map[string]a
params["ref_type"], params["ref"], params["path_spec"] = ref_type, ref_name, path_spec
- repo, err := open_git_repo(r.Context(), group_name, repo_name)
+ repo, description, err := open_git_repo(r.Context(), group_name, repo_name)
if err != nil {
fmt.Fprintln(w, "Error opening repo:", err.Error())
return
}
+ params["repo_description"] = description
ref_hash, err := get_ref_hash_from_type_and_name(repo, ref_type, ref_name)
if err != nil {