You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1/repo
Giteabot 4c9f7d0710
api: GetPullRequestCommits: return file list (#27483) (#27539)
Backport #27483 by @msantos

Fixes https://github.com/go-gitea/gitea/issues/27481

---
Patch tested:

```json
[
  {
    "url": "7664dcb441",
    "sha": "7664dcb44167e0f9efd994e4ca6a9164694adc27",
    "created": "2023-10-06T09:57:08-04:00",
    "html_url": "7664dcb441",
...
    "files": [
      {
        "filename": "README.md",
        "status": "modified"
      }
    ],
    "stats": {
      "total": 2,
      "additions": 2,
      "deletions": 0
    }
  }
]
```

Co-authored-by: Michael Santos <michael.santos@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
..
action.go Refactor secrets modification logic (#26873) 1 year ago
avatar.go Add missing 404 response to Swagger (#27038) 1 year ago
blob.go Add missing 404 response to Swagger (#27038) 1 year ago
branch.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
collaborators.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
commits.go Filter get single commit (#24613) 2 years ago
file.go Add context parameter to some database functions (#26055) 2 years ago
fork.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
git_hook.go Add missing 404 response to Swagger (#27038) 1 year ago
git_ref.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hook.go Add missing 404 response to Swagger (#27038) 1 year ago
hook_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
issue.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issue_attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
issue_comment.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
issue_comment_attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
issue_dependency.go Add missing 404 response to Swagger (#27038) 1 year ago
issue_label.go Don't let API add 2 exclusive labels from same scope (#27433) (#27460) 1 year ago
issue_pin.go Add missing 404 response to Swagger (#27038) 1 year ago
issue_reaction.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
issue_stopwatch.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_subscription.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
issue_tracked_time.go Add missing 404 response to Swagger (#27038) 1 year ago
key.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
label.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
language.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 2 years ago
migrate.go move repository deletion to service layer (#26948) 1 year ago
milestone.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
mirror.go Add `RemoteAddress` to mirrors (#26952) 1 year ago
notes.go api: GetPullRequestCommits: return file list (#27483) (#27539) 1 year ago
patch.go Add missing 404 response to Swagger (#27038) 1 year ago
pull.go api: GetPullRequestCommits: return file list (#27483) (#27539) 1 year ago
pull_review.go More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
release.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
release_attachment.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
release_tags.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
repo.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
repo_test.go Move web/api context related testing function into a separate package (#26859) 1 year ago
star.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
status.go Add missing 404 response to Swagger (#27038) 1 year ago
subscriber.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
tag.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
teams.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
topic.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
transfer.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
tree.go Add missing 404 response to Swagger (#27038) 1 year ago
wiki.go Add missing 404 response to Swagger (#27038) 1 year ago