mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 11:09:44 +08:00
little fix
This commit is contained in:
parent
605a38759f
commit
a196245a87
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user