Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Line Endings  (Read 1401 times)

0 Members and 1 Guest are viewing this topic.

wintertime

  • Sr. Member
  • ****
  • Posts: 255
    • View Profile
Line Endings
« on: November 27, 2013, 12:29:11 am »
I'm halfway into implementing something for SFML and I found the line endings are inconsistent when suddenly the diff would screw up after a small change (I have autocrlf=false in git so I have got whats in the repository already).
To give a few examples of files I checked using an editor that shows the line endings: Mouse, Texture, RenderTextureImplDefault are LF, but others like RenderTexture, RenderTextureImpl, RenderTextureImplFBO are CRLF.
How would be the best way to handle this, convert to LF or keep as is?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Line Endings
« Reply #1 on: November 27, 2013, 12:54:08 am »
It indeed seems to be inconsistent. I guess LF would be the most "common" way...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything