]> source.dussan.org Git - gitea.git/commit
Add file status for API "Get a single commit from a repository" (#16205) (#25831)
authorjeremiepozzigithub <125282390+jeremiepozzigithub@users.noreply.github.com>
Thu, 20 Jul 2023 08:35:47 +0000 (10:35 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 08:35:47 +0000 (16:35 +0800)
commitd7a8d09da013f14bf795fa8efc3a0eac7f259d02
tree355df9bdcb45c343624a14ea60314a65f1473278
parentdf55f9b189174767296e562389948e5250f1df73
Add file status for API "Get a single commit from a repository" (#16205) (#25831)

#16205 To obtain a closer behavior to the api from github, the status
(added, modified, removed) of a file should be available in addition to
the filename.
See github doc :

https://docs.github.com/fr/rest/commits/commits?apiVersion=2022-11-28#get-a-commit
modules/structs/repo_commit.go
services/convert/git_commit.go
templates/swagger/v1_json.tmpl