summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorcrazeteam <164632007+crazeteam@users.noreply.github.com>2024-03-26 15:48:53 +0800
committerGitHub <noreply@github.com>2024-03-26 15:48:53 +0800
commitecbc9cee2b69cd9707acb1e23ccbca048484c460 (patch)
treed0be15bc8bc400d793d7fb86a3cddddcf8d2caf3 /routers
parentdd75237c3492140140c7413d788bd961692048d8 (diff)
downloadgitea-ecbc9cee2b69cd9707acb1e23ccbca048484c460.tar.gz
gitea-ecbc9cee2b69cd9707acb1e23ccbca048484c460.zip
Remove repetitive words (#30091)
remove repetitive words Signed-off-by: crazeteam <lilujing@outlook.com>
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/repo/file.go2
-rw-r--r--routers/web/repo/issue.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/file.go b/routers/api/v1/repo/file.go
index 4895f7b1b3..156033f58a 100644
--- a/routers/api/v1/repo/file.go
+++ b/routers/api/v1/repo/file.go
@@ -145,7 +145,7 @@ func GetRawFileOrLFS(ctx *context.APIContext) {
return
}
- // OK, now the blob is known to have at most 1024 bytes we can simply read this in in one go (This saves reading it twice)
+ // OK, now the blob is known to have at most 1024 bytes we can simply read this in one go (This saves reading it twice)
dataRc, err := blob.DataAsync()
if err != nil {
ctx.ServerError("DataAsync", err)
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index 930a71d35f..12233d0e17 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -1601,7 +1601,7 @@ func ViewIssue(ctx *context.Context) {
}
marked[issue.PosterID] = issue.ShowRole
- // Render comments and and fetch participants.
+ // Render comments and fetch participants.
participants[0] = issue.Poster
if err := issue.Comments.LoadAttachmentsByIssue(ctx); err != nil {