PurpleBooth / git-mit

A git hook suite to supercharge your commits! Seamlessly pair program, tag issues, and craft stellar commit messages effortlessly.
Creative Commons Zero v1.0 Universal
68 stars 3 forks source link

body-wider-than-72-characters should not apply to git comments #1525

Open professor opened 1 month ago

professor commented 1 month ago

Describe the bug When committing a file that has a long file name, BodyWiderThan72Characters triggers.

To Reproduce Steps to reproduce the behavior:

  1. modify a file with a long file
  2. git add -p
  3. git commit -v

Expected behavior A clear and concise description of what you expected to happen.

The commit succeeds

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

PurpleBooth commented 1 month ago

Aw dang! This one had come up before and I thought I got it. Will look into it. Thanks for the report

PurpleBooth commented 1 month ago

Hey, just gave this a go, and I can't replicate it. Probably don't have the message quite right. Can you drop me the text that triggers the lint and the version of git-mit?

Here's how to get the version

git-mit --version