aboutsummaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
authorChristian Höppner <me@mkaito.com>2017-02-14 12:39:55 +0000
committer无闻 <u@gogs.io>2017-02-14 07:39:55 -0500
commit859009259a5d02a09b05094070b6db063bfc5a37 (patch)
tree7a1e67a279d30882646fe79013a66a6bb9eed404 /models
parent4c5255f5ad587b13644c6a38e9d9ef3c0ef9852f (diff)
Typo in LocalCopyPath (#4122)
This won't fix any bugs, but a typo is a typo.
Diffstat (limited to 'models')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index 9278499b..b24001e8 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -468,7 +468,7 @@ func (repo *Repository) DescriptionHtml() template.HTML {
}
func (repo *Repository) LocalCopyPath() string {
- return path.Join(setting.AppDataPath, "tmp/local-rpeo", com.ToStr(repo.ID))
+ return path.Join(setting.AppDataPath, "tmp/local-repo", com.ToStr(repo.ID))
}
// UpdateLocalCopy pulls latest changes of given branch from repoPath to localPath.