Skip to content

Source branch reference should probably be user/repo #20408

Closed
@silverwind

Description

@silverwind

Feature Description

There seem to be various ways that systems refer to the source branch of a PR:

  • user/repo:branch is used by gitea
  • user:branch is used by github
  • user/branch is used by gitlab and in git cli (if remote name is user name)

I'd argue we should go with the format of user/branch, because it lends itself for copy-paste with git cli when remote name equals username, where one can do git checkout -t user/branch. Anyone agree?

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions