mirror of
1
Fork 0
forgejo/models/issues
Jimmy Praet a3efd048a7
Improvements to content history (#17746)
* Improvements to content history

* initialize content history when making an edit to an old item created before the introduction of content history
* show edit history for code comments on pull request files tab

* Fix a flaw in keepLimitedContentHistory
Fix a flaw in keepLimitedContentHistory, the first and the last should never be deleted

* Remove obsolete eager initialization of content history
2021-11-22 20:20:16 +08:00
..
content_history.go Improvements to content history (#17746) 2021-11-22 20:20:16 +08:00
content_history_test.go Improvements to content history (#17746) 2021-11-22 20:20:16 +08:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00