summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorJacob Hrbek <kreyren@fsfe.org>2021-02-18 15:39:04 +0000
committerGitHub <noreply@github.com>2021-02-18 10:39:04 -0500
commit8f05a2876bda053da43188042fd7dfb60738972a (patch)
tree1d26f69e34c8d397a2e60d18448d6d9cd8ced0dc /models
parent9c41ad03b432852bcd173bafd32fb2dd4d2741f0 (diff)
downloadgitea-8f05a2876bda053da43188042fd7dfb60738972a.tar.gz
gitea-8f05a2876bda053da43188042fd7dfb60738972a.zip
models/repo: Fix typo in comment (#14731)
* models/repo: Fix typo in comment * another typo Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'models')
-rw-r--r--models/repo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/repo.go b/models/repo.go
index 62d64fbee9..a7bc566971 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -264,7 +264,7 @@ func (repo *Repository) ColorFormat(s fmt.State) {
repo.Name)
}
-// IsBeingMigrated indicates that repository is being migtated
+// IsBeingMigrated indicates that repository is being migrated
func (repo *Repository) IsBeingMigrated() bool {
return repo.Status == RepositoryBeingMigrated
}
@@ -613,7 +613,7 @@ func (repo *Repository) getReviewers(e Engine, doerID, posterID int64) ([]*User,
// * for private repositories this returns all users that have read access or higher to the repository.
// * for public repositories this returns all users that have write access or higher to the repository,
// and all repo watchers.
-// TODO: may be we should hava a busy choice for users to block review request to them.
+// TODO: may be we should have a busy choice for users to block review request to them.
func (repo *Repository) GetReviewers(doerID, posterID int64) ([]*User, error) {
return repo.getReviewers(x, doerID, posterID)
}