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

Don't count newline against commit subject length #310

Closed
wants to merge 2 commits into from
Closed

Don't count newline against commit subject length #310

wants to merge 2 commits into from

Commits on Dec 19, 2015

  1. Add example to commit-msg TextWidth hook

    Add example verifying that lines in the commit message are allowed
    to be the length of the limit plus a trailing newline character.
    jdewyea committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    2263dda View commit details
    Browse the repository at this point in the history
  2. Don't count newline against commit subject length

    When comparing the commit subject against the specified limit, trailing
    newlines should not be considered part of a subject's character count.
    jdewyea committed Dec 19, 2015
    Configuration menu
    Copy the full SHA
    33cdac6 View commit details
    Browse the repository at this point in the history