aboutsummaryrefslogtreecommitdiff
path: root/models/repo_editor.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2019-10-23 23:03:17 -0700
committerGitHub <noreply@github.com>2019-10-23 23:03:17 -0700
commit613139e7bef81d3573e7988a47eb6765f3de347a (patch)
tree49de7277898d3ff47a122c072568edb8ed4c9ac9 /models/repo_editor.go
parentfb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff)
Enable Go modules (#5835)
* Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
Diffstat (limited to 'models/repo_editor.go')
-rw-r--r--models/repo_editor.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/models/repo_editor.go b/models/repo_editor.go
index bb4b6300..19eb9597 100644
--- a/models/repo_editor.go
+++ b/models/repo_editor.go
@@ -16,15 +16,15 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
gouuid "github.com/satori/go.uuid"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/process"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/process"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
@@ -484,7 +484,7 @@ func (repo *Repository) UploadRepoFiles(doer *User, opts UploadRepoFileOptions)
continue
}
- // Prevent copying files into .git directory, see https://github.com/gogs/gogs/issues/5558.
+ // Prevent copying files into .git directory, see https://gogs.io/gogs/issues/5558.
if isRepositoryGitPath(upload.Name) {
continue
}