diff options
Diffstat (limited to '')
-rw-r--r-- | http_handle_repo_index.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go index c9c4949..ea1854e 100644 --- a/http_handle_repo_index.go +++ b/http_handle_repo_index.go @@ -17,7 +17,6 @@ func handle_repo_index(w http.ResponseWriter, r *http.Request, params map[string http.Error(w, "Error getting repo HEAD: "+err.Error(), http.StatusInternalServerError) return } - params["ref"] = head.Name().Short() head_hash := head.Hash() recent_commits, err := get_recent_commits(repo, head_hash, 3) if err != nil { |