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

This commit is contained in:
6543
2019-12-09 21:12:36 +08:00
committed by Lunny Xiao
parent 59913f405c
commit f11df80058
5 changed files with 15 additions and 15 deletions
+1 -1
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 {