Skip to content

Pull Request button doesn't reflect selected branch for fork #304

Closed
@rbukovansky

Description

  • Gitea version (or commit ref): 42ec5ce
  • Git version: 1.8.3.1
  • Operating system: CentOS 7.2
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Log gist:

Description

  1. Make Fork->Clone->Branch->Push cycle, so you end up with new branch pushed to your remote repository
  2. Open your Gitea and go to your fork
  3. Select pushed branch
  4. Click on Pull Request button.

Gitea doesn't reflect selected branch in link of the PR button, so it always tries to create PR for i.e. <upstream>:master...<fork>:master, instead of <upstream>:master...<fork>:<pushed_and_selected_branch>. So I need then to change the branch for my fork after I click the PR button, which I find annoying as I have already selected the branch I want to have that PR from.

Please, correct it. Thanks.

Same issue as gogs/gogs#3604

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions