Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'handler/post_receive.go')
-rw-r--r--handler/post_receive.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/handler/post_receive.go b/handler/post_receive.go
new file mode 100644
index 000000000..e656d1962
--- /dev/null
+++ b/handler/post_receive.go
@@ -0,0 +1,10 @@
+package handler
+
+import (
+ "net/http"
+)
+
+func PostReceive(w http.ResponseWriter, r *http.Request) {
+ // TODO: Invalidate info-refs cache. For now, just return 200
+ w.WriteHeader(http.StatusOK)
+}