aboutsummaryrefslogtreecommitdiff
path: root/http_handle_group_index.go
diff options
context:
space:
mode:
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
}