aboutsummaryrefslogtreecommitdiffstats
path: root/serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'serve.go')
-rw-r--r--serve.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/serve.go b/serve.go
index ce1dc3184f..b84fa2a4e5 100644
--- a/serve.go
+++ b/serve.go
@@ -281,6 +281,7 @@ func runServ(k *cli.Context) {
//runUpdate(k)
c := exec.Command("git", "update-server-info")
+ c.Dir = models.RepoPath(user.Name, repoName)
err := c.Run()
if err != nil {
log.Error("update-server-info: %v", err)