File tree 9 files changed +14
-6
lines changed
u/unexpected-line-ending-format
9 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ tests/input/** -text
4
4
tests /** /data /** - text
5
5
tests /regrtest_data /** - text
6
6
doc /data /messages /u /unexpected-line-ending-format /bad.py - text
7
+ doc /data /messages /m /mixed-line-endings /bad.py - text
Original file line number Diff line number Diff line change
1
+ print ("Hello" ) # CRLF (\r\n)
2
+ print ("World" ) # LF (\n) # [mixed-line-endings]
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ print ("Hello" ) # CRLF (\r\n)
2
+ print ("World" ) # CRLF (\r\n)
Original file line number Diff line number Diff line change
1
+ print ("Hello" ) # LF (\n)
2
+ print ("World" ) # LF (\n)
Original file line number Diff line number Diff line change
1
+ - `History of CRLF and LF <https://stackoverflow.com/a/6521730/2519059 >`_
2
+ - `Dealing with line endings in Git <https://stackoverflow.com/a/10855862/2519059 >`_
3
+ - `A Collection of Useful .gitattributes Templates <https://github.com/alexkaratarakis/gitattributes >`_
Original file line number Diff line number Diff line change 1
- print ("Sometimes I drink soda. " ) # CRLF # [unexpected-line-ending-format]
2
- print ("Sometimes I drink sulfuric acid. " ) # CRLF # [unexpected-line-ending-format]
1
+ print ("I'm drinking tea! " ) # CRLF (\r\n) # [unexpected-line-ending-format]
2
+ print ("I'm drinking water! " ) # CRLF (\r\n) # [unexpected-line-ending-format]
Original file line number Diff line number Diff line change 1
- print ("I'm drinking tea!" ) # LF
2
- print ("I'm drinking water!" ) # LF
1
+ print ("I'm drinking tea!" ) # LF (\n)
2
+ print ("I'm drinking water!" ) # LF (\n)
You can’t perform that action at this time.
0 commit comments