git-mit icon indicating copy to clipboard operation
git-mit copied to clipboard

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

Open professor opened this issue 1 year ago • 2 comments

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

professor avatar Sep 09 '24 23:09 professor

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

PurpleBooth avatar Sep 11 '24 16:09 PurpleBooth

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

PurpleBooth avatar Sep 11 '24 19:09 PurpleBooth