New push to head repo of head branch: regenerate patch and retest apply

This commit is contained in:
Unknwon committed 2015-10-24 03:36:47 -04:00
1 parent e0aab4a7f6
commit 0fbb8c8826
20 files changed
+475 -154

No files matched your search

+4
View File
@@ -86,6 +86,9 @@ var (
}
// Repository settings.
Repository struct {
PullRequestQueueLength int
}
RepoRootPath string
ScriptType string
AnsiCharset string
@@ -357,6 +360,7 @@ func NewContext() {
homeDir = strings.Replace(homeDir, "\\", "/", -1)
sec = Cfg.Section("repository")
Repository.PullRequestQueueLength = 10000
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories"))
forcePathSeparator(RepoRootPath)
if !filepath.IsAbs(RepoRootPath) {