Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow display of custom message when no-commit-to-branch fails #1106

Closed
wants to merge 1 commit into from

Conversation

ssbarnea
Copy link
Contributor

@ssbarnea ssbarnea commented Nov 4, 2024

This change should make the failures of no-commit-to-branch easier for people that might encounter it as maintainers can provide information about allowed branch names.

Current behavior just gives an opaque error that is not very useful for people that do not have a lot of knowledge about the project they are contributing to.

This change should make the failures of no-commit-to-branch easier
for people that might encounter it as maintainers can provide
information about allowed branch names. Current behavior just gives
an opaque error that is not very useful for people that do not have
a lot of knowledge about the project they are contributing to.
@asottile
Copy link
Member

asottile commented Nov 4, 2024

the intention is you would use name

@asottile asottile closed this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants