Compare two branches which has no base commit will result in 500 #417

Closed
opened 2025-11-02 03:22:42 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @lunny on GitHub (Mar 3, 2017).

It should show the error that the two branches cannot be compared.
git merge-base master gh-pages will return exit status 1 in https://github.com/go-gitea/git/blob/master/command.go#L50.

Originally created by @lunny on GitHub (Mar 3, 2017). It should show the error that the two branches cannot be compared. `git merge-base master gh-pages` will return `exit status 1` in https://github.com/go-gitea/git/blob/master/command.go#L50.
GiteaMirror added the issue/confirmedtype/bug labels 2025-11-02 03:22:42 -06:00
Author
Owner

@stale[bot] commented on GitHub (Feb 17, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Feb 17, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@zeripath commented on GitHub (May 27, 2019):

Fixed by #6555 and its backport to 1.8 #6558

@zeripath commented on GitHub (May 27, 2019): Fixed by #6555 and its backport to 1.8 #6558
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#417