aboutsummaryrefslogtreecommitdiffstats
path: root/services/agit/agit.go
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-01-10 04:32:37 -0500
committerGitHub <noreply@github.com>2022-01-10 17:32:37 +0800
commit8c647bf0f6b19fe666c645ec16010d07bfe85a63 (patch)
treeeaa322e1244591b00a36b7d79ce416bd1bd932af /services/agit/agit.go
parent242dddfcb7cfab1d21c1658828d94f603809a5c7 (diff)
downloadgitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.tar.gz
gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.zip
Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'services/agit/agit.go')
-rw-r--r--services/agit/agit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/agit/agit.go b/services/agit/agit.go
index beb21940b0..34f097b42d 100644
--- a/services/agit/agit.go
+++ b/services/agit/agit.go
@@ -268,7 +268,7 @@ func ProcRecive(ctx *context.PrivateContext, opts *private.HookOptions) []privat
return results
}
-// UserNameChanged hanle user name change for agit flow pull
+// UserNameChanged handle user name change for agit flow pull
func UserNameChanged(user *user_model.User, newName string) error {
pulls, err := models.GetAllUnmergedAgitPullRequestByPoster(user.ID)
if err != nil {