mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
Use commit time instead of author time for push commits (#4037)
This commit is contained in:
parent
185c90df12
commit
6bfbed0616
@ -56,7 +56,7 @@ func CommitToPushCommit(commit *git.Commit) *PushCommit {
|
|||||||
AuthorName: commit.Author.Name,
|
AuthorName: commit.Author.Name,
|
||||||
CommitterEmail: commit.Committer.Email,
|
CommitterEmail: commit.Committer.Email,
|
||||||
CommitterName: commit.Committer.Name,
|
CommitterName: commit.Committer.Name,
|
||||||
Timestamp: commit.Author.When,
|
Timestamp: commit.Committer.When,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user