Commit graph

11 commits

Author SHA1 Message Date
Zach Anderson
eba3743adb Adjust line endings setting in .gitattributes
When checking out code on Windows, we have git set up to automagically
convert LF line-endings to CRLF line-endings. This confuses the canned
formatting presubmit check, which fails because the line endings are not
what it wants.

This CL turns off the automagic line-ending conversion for C/C++ source
files, so that clang-format doesn't get confused by them on Windows.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2490993002 .
2016-11-09 09:23:21 -08:00
John Messerly
c1cde9600b use pkg/dev_compiler in the build 2016-08-31 18:05:17 -07:00
Ivan Posva
3a8c3ecf9e - Fix git files.
BUG=
R=asiva@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org//1340133006 .
2015-09-14 16:27:51 -07:00
Johnni Winther
f49f00608f Add tests for problem with newline encoding in multiline strings.
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1252443002.
2015-07-22 13:10:13 +02:00
Stephen Adams
4f06486925 js_ast test is now line-ending agnostic
TBR=herhut@google.com

Review URL: https://codereview.chromium.org//1208993006.
2015-07-01 08:26:36 -07:00
William Hesse
57765a8929 Ensure correct line endings for method_mirror_source tests.
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1218813002.
2015-06-29 13:43:57 +02:00
Ryan Macnak
0d70fd8d9f Don't normalize the LF test either (for Windows).
Review URL: https://codereview.chromium.org//1212933002.
2015-06-26 09:53:21 -07:00
Stephan Herhut
225be75498 Fix some tests and exclude others from CRLF rewriting.
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1212823002.
2015-06-26 14:40:01 +02:00
Stephan Herhut
dc02e2064a Don't normalize the CR test either.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//1208183002.
2015-06-26 13:13:02 +02:00
Stephan Herhut
6655883f88 dart2js: Exclude string interpolation tests from CRLF rewriting.
BUG=
TBR=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1206953003.
2015-06-25 14:27:10 +02:00
Stephan Herhut
b1c1606e17 Enforce LF line endings in the git database.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//1168393003.
2015-06-25 13:41:53 +02:00