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

[Feature Request] Overcommit TextWidth should not fail if a commit line containing only a url is longer than preferred length #822

Open
KarimElsayad247 opened this issue Feb 6, 2024 · 1 comment

Comments

@KarimElsayad247
Copy link

Currently, if I attempt to commit with a message such as this:

CODE-123: Fix obscure bug

This problem happened because blah blah blah....
More info here
[https://](https://stackoverflow.com/questions/49649015/overcommit-gem-is-preventing-a-commit)

Commit will fail

Running commit-msg hooks
Check text width..........................................[TextWidth] FAILED
Line 5 of commit message has > 72 characters

However, you can't really break down url lines without breaking link functionality in terminals and web interfaces such as in github.

@KarimElsayad247 KarimElsayad247 changed the title Overcommit TextWidth should not fail if a commit line containing only a url is longer than preferred length [Feature Request] Overcommit TextWidth should not fail if a commit line containing only a url is longer than preferred length Feb 6, 2024
@KarimElsayad247
Copy link
Author

Currently the only special behavior available was the one introduced in this PR #386

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

No branches or pull requests

2 participants