1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-25 19:58:36 +00:00

File Edit: Author/Committer interchanged [BugFix] (#9300)

This commit is contained in:
6543
2019-12-09 14:12:36 +01:00
committed by Lunny Xiao
parent 59913f405c
commit f11df80058
5 changed files with 15 additions and 15 deletions

View File

@@ -167,7 +167,7 @@ func CreateOrUpdateRepoFile(repo *models.Repository, doer *models.User, opts *Up
message := strings.TrimSpace(opts.Message)
author, committer := GetAuthorAndCommitterUsers(opts.Committer, opts.Author, doer)
author, committer := GetAuthorAndCommitterUsers(opts.Author, opts.Committer, doer)
t, err := NewTemporaryUploadRepository(repo)
if err != nil {