Neel Basu Neel Basu - 15 days ago 4
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