You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Overcommit TextWidth should not fail if a commit line containing only a url is longer than preferred length #822
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.
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[/+]on Feb 6, 2024
Activity
[-]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[/+]KarimElsayad247 commentedon Feb 6, 2024
Currently the only special behavior available was the one introduced in this PR #386
Allow URL-only lines to exceed TextWidth body limit (sds#900)