Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: LCS Nitpicking: Please fix your line endings.  (Read 1770 times)

themel

  • Bay Watcher
    • View Profile
LCS Nitpicking: Please fix your line endings.
« on: February 05, 2010, 09:37:53 am »

Since the last SVN revision was about whitespace, I'd be very grateful if you could fix your line endings as well - it seems that most files contain a mix of DOS and UNIX line endings, specifically:

Code: [Select]
dev/compat.cpp: ASCII C++ program text, with CRLF, LF line terminators
dev/compat.h: ASCII C++ program text, with CRLF, LF line terminators
dev/cpc.cpp: ASCII C program text, with CRLF, LF line terminators
dev/newgame.diff: UTF-8 Unicode C program text, with CRLF, LF line terminators
dev/oldnotes.cpp: ASCII C++ program text, with CRLF, LF line terminators
src/basemode/basemode.cpp: ASCII C program text, with CRLF, LF line terminators
src/basemode/liberalagenda.cpp: ASCII C program text, with CRLF, LF line terminators
src/basemode/reviewmode.cpp: ASCII C program text, with CRLF, LF line terminators
src/combat/fight.cpp: ASCII C program text, with CRLF, LF line terminators
src/common/commonactions.cpp: ASCII C program text, with CRLF, LF line terminators
src/common/creature.cpp: ASCII C program text, with CRLF, LF line terminators
src/common/getnames.cpp: ASCII C program text, with very long lines, with CRLF, LF line terminators
src/common/help.cpp: ASCII C program text, with CRLF, LF line terminators
src/common/misc.cpp: ASCII C program text, with CRLF, LF line terminators
src/compat.cpp: ASCII C++ program text, with CRLF, LF line terminators
src/compat.h: ASCII C++ program text, with CRLF, LF line terminators
src/creature/creaturetypes.cpp: ASCII C program text, with CRLF, LF line terminators
src/daily/activities.cpp: ASCII C program text, with CRLF, LF line terminators
src/daily/date.cpp: ASCII C program text, with CRLF, LF line terminators
src/daily/news.cpp: ASCII C program text, with CRLF, LF line terminators
src/daily/shopsnstuff.cpp: ASCII C program text, with CRLF, LF line terminators
src/news/filler.cpp: ASCII C program text, with CRLF, LF line terminators
src/news/headline.cpp: ASCII C program text, with CRLF, LF line terminators
src/news/majorevent.cpp: ASCII C program text, with CRLF, LF line terminators
src/news/news.h: ASCII C program text, with CRLF, LF line terminators
src/news/squadstory_text.cpp: ASCII C program text, with CRLF, LF line terminators
src/politics/alignment.h: ASCII C program text, with CRLF, LF line terminators
src/politics/law.h: ASCII C program text, with CRLF, LF line terminators
src/politics/politics.cpp: ASCII C program text, with CRLF, LF line terminators
src/sandbox/creature_test.cpp: ASCII C program text, with CRLF, LF line terminators
src/sandbox/creature_test.h: ASCII C program text, with CRLF, LF line terminators
src/sandbox/globals.h: ASCII C program text, with CRLF, LF line terminators
src/sandbox/saveload_boost.cpp: ASCII C program text, with CRLF, LF line terminators
src/sitemode/mapspecials.cpp: ASCII C program text, with CRLF, LF line terminators
src/sitemode/sitemap.cpp: ASCII C program text, with CRLF, LF line terminators
src/sitemode/sitemap.h: ASCII C program text, with CRLF, LF line terminators
src/sitemode/talk.cpp: ASCII C program text, with CRLF, LF line terminators
src/title/newgame.cpp: ASCII C program text, with CRLF, LF line terminators

All my editors want a file to have one type of line ending only, and this is a pain because my diffs tend to become confusing when they suddenly contain a bunch of whitespace changes.
Logged

Ampersand

  • Bay Watcher
    • View Profile
Re: LCS Nitpicking: Please fix your line endings.
« Reply #1 on: February 06, 2010, 09:02:16 pm »

This is probably something best left in Jonathan's PM inbox than posted publicly.
Logged
!!&!!