WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

@KarimElsayad247

Description

@KarimElsayad247

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions