aboutsummaryrefslogtreecommitdiff
path: root/http_handle_group_index.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
commit54926a719de46b3c359f2f7ce3c29ff4fe55397b (patch)
treeb81028ae83c949807313a54296bf6d0b59bea8a0 /http_handle_group_index.go
parentRemove underscores from Go code, pt 2 (diff)
downloadforge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.gz
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.zst
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.zip
Remove underscores from Go code, pt 3
Diffstat (limited to 'http_handle_group_index.go')
-rw-r--r--http_handle_group_index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_group_index.go b/http_handle_group_index.go
index 2c27117..3ed3a85 100644
--- a/http_handle_group_index.go
+++ b/http_handle_group_index.go
@@ -121,7 +121,7 @@ func handle_group_index(w http.ResponseWriter, r *http.Request, params map[strin
return
}
- if err = git_bare_init_with_default_hooks(file_path); err != nil {
+ if err = gitInit(file_path); err != nil {
http.Error(w, "Error initializing repo: "+err.Error(), http.StatusInternalServerError)
return
}