[API] Add diff hunks to the list of affected files in a commit #13861

Open
opened 2025-11-02 10:55:25 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @GamerGirlandCo on GitHub (Dec 20, 2024).

Feature Description

It would be nice if the CommitAffectedFile model included a diff of what changed in that file for a specific commit. Happy to open a pull request to implement this! :)

Screenshots

No response

Originally created by @GamerGirlandCo on GitHub (Dec 20, 2024). ### Feature Description It would be nice if the `CommitAffectedFile` model included a diff of what changed in that file for a specific commit. Happy to open a pull request to implement this! :) ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposal labels 2025-11-02 10:55:25 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Dec 20, 2024):

It should be optional, otherwise it slows down the API when the caller doesn't need it.

@wxiaoguang commented on GitHub (Dec 20, 2024): It should be optional, otherwise it slows down the API when the caller doesn't need it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13861