forked from gitea/gitea
1
0
Fork 0

little fix

This commit is contained in:
Unknown 2014-05-11 12:20:41 -04:00
parent 605a38759f
commit a196245a87
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,7 @@ func runServ(k *cli.Context) {
models.SetRepoEnvs(user.Id, user.Name, repoName, repoUserName)
gitcmd := exec.Command(verb, repoPath)
println(base.RepoRootPath)
gitcmd.Dir = base.RepoRootPath
gitcmd.Stdout = os.Stdout
gitcmd.Stdin = os.Stdin