Skip to content

Dont count on magic value "master" for the git backend #27497

Closed
@6543

Description

There still exist a lot of string values in the codebase of "master"

we at least should use one single const.
but it's better to respect repo specific settings if posible

we should try to determine what the default branch of a repo or at least of the system is

Originally posted by @6543 in #23894 (comment)

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detailtype/refactoringExisting code has been cleaned up. There should be no new functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions