Gusted 692707f145 Add latest commit's SHA to content response (#20398)
* Add latest commit's SHA to content response

- When requesting the contents of a filepath, add the latest commit's
SHA to the requested file.
- Resolves #12840

* Add swagger

* Fix NPE

* Fix tests

* Hook into LastCommitCache

* Move AddLastCommitCache to a common nogogit and gogit file

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Prevent NPE

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-07-30 16:09:04 +08:00
..
2022-05-06 10:12:30 +01:00
2022-07-12 23:32:37 +02:00
2022-07-12 23:32:37 +02:00
2022-07-12 23:32:37 +02:00
2022-06-25 19:06:01 +02:00
2022-06-26 22:19:22 +08:00
2022-04-25 13:55:12 +08:00
2022-07-12 23:32:37 +02:00