aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 73dea929ed..11cf97ad61 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -175,7 +175,7 @@ func runServ(k *cli.Context) {
qlog.Fatal("Unknown command")
}
- models.SetRepoEnvs(user.Id, user.Name, repoName)
+ models.SetRepoEnvs(user.Id, user.Name, repoName, repoUserName)
gitcmd := exec.Command(verb, repoPath)
gitcmd.Dir = base.RepoRootPath