Skip to content
Permalink
Browse files

Dev: add .gitattributes file to force all line endings to LF

  • Loading branch information...
mikesherov committed Jan 3, 2013
1 parent da01fb6 commit cc5ac08fdeac94c8ee0ccdf6c50e78de44db47fc
Showing with 1 addition and 0 deletions.
  1. +1 −0 .gitattributes
@@ -0,0 +1 @@
* eol=lf

6 comments on commit cc5ac08

@jzaefferer

This comment has been minimized.

Copy link
Member

replied Jan 7, 2013

I'm now getting warnings about warning: CRLF will be replaced by LF in demos/autocomplete/images/jquery_32x32.png..

@jzaefferer

This comment has been minimized.

Copy link
Member

replied Jan 7, 2013

Along with a bunch of files, that I can't reset, showing up as modified.

@jzaefferer

This comment has been minimized.

Copy link
Member

replied Jan 8, 2013

@mikesherov why was this added if it causes problems like the ones I mentioned above?

@scottgonzalez can you confirm that you're seeing the same? Or is it just me?

@scottgonzalez

This comment has been minimized.

Copy link
Member

replied Jan 8, 2013

I'm not having that problem. See 68e5ebc for the only files that it changed for me.

@jzaefferer

This comment has been minimized.

Copy link
Member

replied Jan 8, 2013

Just did a fresh clone, gives me this crap: http://bassistance.de/i/592772.png

@mikesherov

This comment has been minimized.

Copy link
Member Author

replied Jan 8, 2013

@jzaefferer, it shouldn't be causing problems. Its utility is to avoid spurious line changes when a windows editor modifies a file and inserts CRLF. I asked @scottgonzalez if it was OK before landing. Not sure why it would try to change a jpg file though, that's curious.

@jzaefferer, can you check that your editor is using LF only?

Please sign in to comment.
You can’t perform that action at this time.