Get a single commit from a repository REST API should return commit message instead of commit summary #3179

Closed
opened 2025-11-02 05:02:57 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Jamesgt on GitHub (Apr 12, 2019).

  • Gitea version (or commit ref): 1.8.rc2

Description

Get a single commit from a repository REST API should return commit message instead of commit summary. (https://try.gitea.io/api/swagger#/repository/repoGetSingleCommit)

Probably this:
d578b71d61/routers/api/v1/repo/commits.go (L112)
should be something like:
Message: commit.Message(),

Originally created by @Jamesgt on GitHub (Apr 12, 2019). - Gitea version (or commit ref): 1.8.rc2 ## Description Get a single commit from a repository REST API should return commit message instead of commit summary. (https://try.gitea.io/api/swagger#/repository/repoGetSingleCommit) Probably this: https://github.com/go-gitea/gitea/blob/d578b71d61ee8131e8abf7f538b93d8c6cc6fe6d/routers/api/v1/repo/commits.go#L112 should be something like: `Message: commit.Message(),`
GiteaMirror added the type/bug label 2025-11-02 05:02:57 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3179