summaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-11 12:20:41 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-11 12:20:41 -0400
commita196245a87d6e13fefc7c48b79a4157e05acde8c (patch)
treef64e59f2168f232e0586e481f16ebf447ebe3fab /cmd/serve.go
parent605a38759fe226b0f2541c72275caf1af234860f (diff)
downloadgitea-a196245a87d6e13fefc7c48b79a4157e05acde8c.tar.gz
gitea-a196245a87d6e13fefc7c48b79a4157e05acde8c.zip
little fix
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 5eac51f5e4..e19b5d7879 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -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