Fix Collaborators cannot commit

This commit is contained in:
Unknown 2014-05-03 01:37:49 -04:00
parent e10096ee2e
commit 7b60756f2c
7 changed files with 45 additions and 36 deletions

View file

@ -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