Neel Basu Neel Basu - 6 months ago 52
Git Question

git commit You have some suspicious patch lines

git commit
giving me the following message

* You have some suspicious patch lines:
* In projects/bong/traid/apps/controller/project.php
* trailing whitespace (line 220)
* trailing whitespace (line 223)

What does that mean ?


That happens when the file has trailing whitespace, if you run:

git commit --no-verify

it will commit ok. ref