diff options
author | Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> | 2020-12-22 03:19:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-21 21:19:33 -0500 |
commit | 2c9dd71140474b1f83f068bece40b25e94240ab4 (patch) | |
tree | 37072012ede121d648cc50dedea2ec9552f43f75 /modules/repofiles | |
parent | acd5e5a868c2c158132b4017f318943d1e6c573f (diff) | |
download | gitea-2c9dd71140474b1f83f068bece40b25e94240ab4.tar.gz gitea-2c9dd71140474b1f83f068bece40b25e94240ab4.zip |
Standardize Co-Authored-By / Reviewed-By strings (#14097)
* Standardize Co-Authored-By / Reviewed-By strings
* Use lowercase variant
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/repofiles')
-rw-r--r-- | modules/repofiles/temp_repo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/repofiles/temp_repo.go b/modules/repofiles/temp_repo.go index 0d86773643..a02bba65e9 100644 --- a/modules/repofiles/temp_repo.go +++ b/modules/repofiles/temp_repo.go @@ -222,10 +222,10 @@ func (t *TemporaryUploadRepository) CommitTreeWithDate(author, committer *models if committerSig.Name != authorSig.Name || committerSig.Email != authorSig.Email { // Add trailers _, _ = messageBytes.WriteString("\n") - _, _ = messageBytes.WriteString("Co-Authored-By: ") + _, _ = messageBytes.WriteString("Co-authored-by: ") _, _ = messageBytes.WriteString(committerSig.String()) _, _ = messageBytes.WriteString("\n") - _, _ = messageBytes.WriteString("Co-Committed-By: ") + _, _ = messageBytes.WriteString("Co-committed-by: ") _, _ = messageBytes.WriteString(committerSig.String()) _, _ = messageBytes.WriteString("\n") } |