stable

Clone or download

Read-only

Display committer date instead of author date

Committer information are saved in the cache as well as author information. This will help to adjust what information should be displayed to the user after a little bit of use. Part of story #17180: take into account gitlab commits Change-Id: If7a6d8a46b7024f2f248bafb2e22fe0c6a04932e

Modified Files

Name
M plugins/git/db/install.sql +3 −0 Go to diff View file
A plugins/git/db/mysql/updates/2021/202101051426_add_committer_to_commit_details_cache_table.php +51 −0 Go to diff View file
M plugins/git/include/Git/Reference/CommitDetails.php +11 −11 Go to diff View file
M plugins/git/include/Git/Reference/CommitDetailsCacheDao.php +12 −3 Go to diff View file
M plugins/git/include/Git/Reference/CommitDetailsRetriever.php +12 −6 Go to diff View file
M plugins/git/include/Git/Reference/CrossReferenceGitEnhancer.php +1 −1 Go to diff View file
M plugins/git/tests/unit/Git/Reference/CommitDetailsRetrieverTest.php +21 −15 Go to diff View file