comparison api unable to calculate the difference between the commit IDs #12898

Closed
opened 2025-11-02 10:24:18 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ExplodingDragon on GitHub (Apr 23, 2024).

Description

The API using (#30349) is unable to compare differences between diff commit ids. But it works fine on the Web UI.

P-1

P-2

Compare UI
Compare API

Gitea Version

main

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

online

Database

None

Originally created by @ExplodingDragon on GitHub (Apr 23, 2024). ### Description The API using (#30349) is unable to compare differences between diff commit ids. But it works fine on the Web UI. ![P-1](https://github.com/go-gitea/gitea/assets/33776693/39bb8368-81d7-4278-a8be-e804428a2fe4) ![P-2](https://github.com/go-gitea/gitea/assets/33776693/21275eb6-10a1-47c6-b1c4-54361a063a88) [Compare UI](https://gitea.com/actions/cache/compare/e29dad3e36390db18fc19fb666cb1302f4929002...main) [Compare API](https://gitea.com/api/v1/repos/actions/cache/compare/e29dad3e36390db18fc19fb666cb1302f4929002...main) ### Gitea Version main ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? online ### Database None
GiteaMirror added the topic/apitype/bug labels 2025-11-02 10:24:18 -06:00
Author
Owner

@ExplodingDragon commented on GitHub (Apr 23, 2024):

It seems that #30618 is blocking the commit id comparison.

@ExplodingDragon commented on GitHub (Apr 23, 2024): It seems that #30618 is blocking the commit id comparison.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12898