mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 10:18:38 +00:00
File Edit: Author/Committer interchanged [BugFix] (#9297)
* simple fix * fix test too * repair more twists use same sequence: first Author, then Commiter
This commit is contained in:
@@ -168,7 +168,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 {
|
||||
|
Reference in New Issue
Block a user