Skip to content

Make Pull Request message from PR #4716 configurable #5801

@luxifr

Description

@luxifr

PR #4716 introduced a feature that will output a link to create a PR when pushing to a repo. Personally, I find it pretty annoying and I couldn't find any meaningful discussion on the PR about whether this is at all sensible, to begin with.

I'd argue that teams who already use a PR workflow don't really need this message and teams who decidedly don't use a PR workflow will be just as annoyed as I am because it clutters their output when pushing stuff - every - single - time! While I myself don't do this, I could imagine that this may even break some people's automation when it relies on Git's output on push.

As I wouldn't assume that this is meant to implement some sort of agenda to push people to adopt the PR workflow, this should be optional. Ideally, this should be configurable globally and the global default should be overridable per repository and even per branch. But for starters, a global "on/off" switch for this "feature" should be the least before shipping this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions