Pull request Reference #6144

Open
opened 2025-11-02 06:46:19 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @zhoutt96 on GitHub (Oct 13, 2020).

  • Gitea version (or commit ref):
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

In bitbucket: they have two refs for each pull request, shown as below.
0cac01dd5ba4741a14cfb7d28bc4873aefebc4eb refs/pull-requests/#/from
4d19d85730dc74d23c3d92fa7392a1e389d017f4 refs/pull-requests/#/merge

In your project, only found refs/pull/#/head which points to lastest commit of head branch, how about the refs/pull-requests/#/merge refs?
...

Screenshots

Originally created by @zhoutt96 on GitHub (Oct 13, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description In bitbucket: they have two refs for each pull request, shown as below. 0cac01dd5ba4741a14cfb7d28bc4873aefebc4eb refs/pull-requests/#/from 4d19d85730dc74d23c3d92fa7392a1e389d017f4 refs/pull-requests/#/merge In your project, only found refs/pull/#/head which points to lastest commit of head branch, how about the refs/pull-requests/#/merge refs? ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/proposal label 2025-11-02 06:46:19 -06:00
Author
Owner

@zeripath commented on GitHub (Oct 13, 2020):

We don't currently have this - but the merge commit id is stored in the pull_request table.

@zeripath commented on GitHub (Oct 13, 2020): We don't currently have this - but the merge commit id is stored in the pull_request table.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6144