diff options
author | Unknown <joe2010xtmf@163.com> | 2014-05-03 01:37:49 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-05-03 01:37:49 -0400 |
commit | 7b60756f2c56314af715fa884388a5654bbfb791 (patch) | |
tree | aab291357e23d6010e53dae80a51f66ed3294e20 /cmd/serve.go | |
parent | e10096ee2e7985cfd73553f52b09994af025cd93 (diff) | |
download | gitea-7b60756f2c56314af715fa884388a5654bbfb791.tar.gz gitea-7b60756f2c56314af715fa884388a5654bbfb791.zip |
Fix Collaborators cannot commit
Diffstat (limited to 'cmd/serve.go')
-rw-r--r-- | cmd/serve.go | 2 |
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 |