aboutsummaryrefslogtreecommitdiff
path: root/internal/git/handler.go
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2022-11-25 09:43:26 -0800
committerMax Resnick <max@ofmax.li>2022-11-25 09:43:26 -0800
commit9e79e588131b0d59abefd84405cb7908bc2baa77 (patch)
treea56aa371d2c750514b66a49ed858f8329fb2c95f /internal/git/handler.go
parent3c1c6bc584568ecc635a0b0fa4f68f3e2e9c1528 (diff)
downloadgo-git-server-9e79e588131b0d59abefd84405cb7908bc2baa77.tar.gz
stub git backend tests, add readme notes, etc
Diffstat (limited to 'internal/git/handler.go')
-rw-r--r--internal/git/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/git/handler.go b/internal/git/handler.go
index 5a3b3e6..6f29483 100644
--- a/internal/git/handler.go
+++ b/internal/git/handler.go
@@ -18,6 +18,7 @@ func GitHttpBackendHandler(reposDir, backendCommand string) http.Handler {
Dir: ".",
Env: []string{
projectDirEnv,
+ // TODO we don't want to export all
"GIT_HTTP_EXPORT_ALL=1",
fmt.Sprintf("REMOTE_USER=%s", uid),
},