'No commits in common' is shown on pull request with identical branches under the commit tab #7634

Closed
opened 2025-11-02 07:32:00 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @PotatoesFall on GitHub (Jul 28, 2021).

While the link to commits cannot be clicked, visiting the url with /commits will result in the wrong message, similar to the issue described in:

#14502

Message shown

No commits in common. 'master' and 'other_branch' have entirely different histories.

Message that (I guess) should be shown

These branches are equal.

Screenshots

image

I have created #16569 to solve this issue

Originally created by @PotatoesFall on GitHub (Jul 28, 2021). While the link to commits cannot be clicked, visiting the url with `/commits` will result in the wrong message, similar to the issue described in: #14502 - Gitea version (or commit ref): 1.14.3 - Git version: ? not sure - Operating system: Docker - Database (use `[x]`): - [x] PostgreSQL - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (https://try.gitea.io/PotatoesFall/TestRepo/pulls/1/commits) ## Message shown > No commits in common. 'master' and 'other_branch' have entirely different histories. ## Message that (I guess) should be shown > These branches are equal. # Screenshots ![image](https://user-images.githubusercontent.com/58218546/127334787-bed5c97e-29d2-4cb9-ab35-ce9b82a5980d.png) I have created #16569 to solve this issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7634