trailing whitespace problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



when I use git commit -a, I get the following message:

*
* You have some suspicious patch lines:
*
* In src/test.c
* trailing whitespace (line 60)
src/test.c:60: }

when I fix the whitespace problem,  and do "git commit -a" again,
I still get the same message.

Only after adding the file again, with "git add src/test.c",
I can commit my changes.

git version 1.5.3.2 (on cygwin)

ps: not related to CR/LF...
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux