aboutsummaryrefslogtreecommitdiff
path: root/internal/context/repo.go
diff options
context:
space:
mode:
authorAtin <61903527+atin@users.noreply.github.com>2021-05-19 10:42:09 +0530
committerGitHub <noreply@github.com>2021-05-19 13:12:09 +0800
commitd6987ee05be8b5da279e530cfd65512cb903c72b (patch)
tree92da4f00413abb945477a2c4e9df509a9c5b161d /internal/context/repo.go
parent509a392272a2ba2bde9d64bf5a55a58d0eadccc4 (diff)
chore: fix typos in code comments (#6556)
Diffstat (limited to 'internal/context/repo.go')
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/context/repo.go b/internal/context/repo.go
index 7c70f0c1..01759212 100644
--- a/internal/context/repo.go
+++ b/internal/context/repo.go
@@ -401,7 +401,7 @@ func RepoRef() macaron.Handler {
c.Data["IsViewTag"] = c.Repo.IsViewTag
c.Data["IsViewCommit"] = c.Repo.IsViewCommit
- // People who have push access or have fored repository can propose a new pull request.
+ // People who have push access or have forked repository can propose a new pull request.
if c.Repo.IsWriter() || (c.IsLogged && c.User.HasForkedRepo(c.Repo.Repository.ID)) {
// Pull request is allowed if this is a fork repository
// and base repository accepts pull requests.