aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 23:18:29 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 23:18:29 +0800
commitc8d682174aaceab749302dd543122f60193dafbb (patch)
tree880e84741c72b30a41b6f2f052e260fe5da447d9 /handle_repo_commit.go
parent*.go: Remove extra TODOs (diff)
downloadforge-c8d682174aaceab749302dd543122f60193dafbb.tar.gz
forge-c8d682174aaceab749302dd543122f60193dafbb.tar.zst
forge-c8d682174aaceab749302dd543122f60193dafbb.zip
*.go: Reformat
Diffstat (limited to 'handle_repo_commit.go')
-rw-r--r--handle_repo_commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_repo_commit.go b/handle_repo_commit.go
index 4bec9dd..56103e7 100644
--- a/handle_repo_commit.go
+++ b/handle_repo_commit.go
@@ -42,7 +42,7 @@ func handle_repo_commit(w http.ResponseWriter, r *http.Request) {
commit_id_string := commit_object.Hash.String()
if commit_id_string != commit_id_specified_string {
- http.Redirect(w, r, commit_id_string, http.StatusSeeOther)
+ http.Redirect(w, r, commit_id_string, http.StatusSeeOther)
return
}