diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-01-03 12:01:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-03 12:01:52 +0000 |
commit | 9084712b555a876873bd7d7583f5befd47647c9d (patch) | |
tree | a7fea9181a01a15a983b4456045a66df14213d79 /tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf | |
parent | 77f1460fcf6de77aebd55fc5ef30a663df38a55e (diff) | |
parent | e385e6474eb288be2efa11d126bd78df274a7932 (diff) | |
download | libgit2-9084712b555a876873bd7d7583f5befd47647c9d.tar.gz |
Merge pull request #4904 from libgit2/ethomson/crlf
Update CRLF filtering to match modern git
Diffstat (limited to 'tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf')
39 files changed, 162 insertions, 0 deletions
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/.gitattributes b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/.gitattributes new file mode 100644 index 000000000..e20264803 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/.gitattributes @@ -0,0 +1 @@ +* crlf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf new file mode 100644 index 000000000..a9a2e8913 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf @@ -0,0 +1,4 @@ +crlf
+crlf
+crlf
+crlf
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf-utf8bom b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf-utf8bom new file mode 100644 index 000000000..0aa76e474 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-crlf-utf8bom @@ -0,0 +1,4 @@ +crlf
+crlf
+crlf
+crlf
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf new file mode 100644 index 000000000..799770d1c --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf @@ -0,0 +1,5 @@ +lf +lf +lf +lf +lf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf-utf8bom b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf-utf8bom new file mode 100644 index 000000000..7cce67e58 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/all-lf-utf8bom @@ -0,0 +1,5 @@ +lf +lf +lf +lf +lf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-crlf new file mode 100644 index 000000000..85340755c --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-crlf @@ -0,0 +1,4 @@ +one
+two
+three
+four
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-lf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-lf new file mode 100644 index 000000000..af6fcf6da --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-all-lf @@ -0,0 +1,4 @@ +one +two +three +four diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr new file mode 100644 index 000000000..203555c56 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr @@ -0,0 +1,3 @@ +one +two
three +four
\ No newline at end of file diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr-crlf new file mode 100644 index 000000000..aaf083a9c --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/binary-mixed-lf-cr-crlf @@ -0,0 +1,3 @@ +one +two
three
+four
\ No newline at end of file diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-crlf new file mode 100644 index 000000000..0e0528888 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-crlf @@ -0,0 +1,22 @@ +⚽The rest is ASCII01.
+The rest is ASCII02.
+The rest is ASCII03.
+The rest is ASCII04.
+The rest is ASCII05.
+The rest is ASCII06.
+The rest is ASCII07.
+The rest is ASCII08.
+The rest is ASCII09.
+The rest is ASCII10.
+The rest is ASCII11.
+The rest is ASCII12.
+The rest is ASCII13.
+The rest is ASCII14.
+The rest is ASCII15.
+The rest is ASCII16.
+The rest is ASCII17.
+The rest is ASCII18.
+The rest is ASCII19.
+The rest is ASCII20.
+The rest is ASCII21.
+The rest is ASCII22.
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-lf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-lf new file mode 100644 index 000000000..f4d25b796 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/few-utf8-chars-lf @@ -0,0 +1,22 @@ +⚽The rest is ASCII01. +The rest is ASCII02. +The rest is ASCII03. +The rest is ASCII04. +The rest is ASCII05. +The rest is ASCII06. +The rest is ASCII07. +The rest is ASCII08. +The rest is ASCII09. +The rest is ASCII10. +The rest is ASCII11. +The rest is ASCII12. +The rest is ASCII13. +The rest is ASCII14. +The rest is ASCII15. +The rest is ASCII16. +The rest is ASCII17. +The rest is ASCII18. +The rest is ASCII19. +The rest is ASCII20. +The rest is ASCII21. +The rest is ASCII22. diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-crlf new file mode 100644 index 000000000..cd574f5a2 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-crlf @@ -0,0 +1,4 @@ +Lets sing!
+♫♪♬♩
+Eat food
+🍅🍕
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-lf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-lf new file mode 100644 index 000000000..9a6c3533f --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/many-utf8-chars-lf @@ -0,0 +1,4 @@ +Lets sing! +♫♪♬♩ +Eat food +🍅🍕 diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr new file mode 100644 index 000000000..d11e7ef63 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr @@ -0,0 +1,3 @@ +one +two
three +four
\ No newline at end of file diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr-crlf new file mode 100644 index 000000000..417786fc3 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/mixed-lf-cr-crlf @@ -0,0 +1,3 @@ +one +two
three
+four
\ No newline at end of file diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf new file mode 100644 index 000000000..0ff5a53f1 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf @@ -0,0 +1,5 @@ +crlf
+crlf
+lf +crlf
+crlf
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf-utf8bom b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf-utf8bom new file mode 100644 index 000000000..ea030d3c6 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-crlf-utf8bom @@ -0,0 +1,5 @@ +crlf
+crlf
+lf +crlf
+crlf
diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf new file mode 100644 index 000000000..04de00b35 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf @@ -0,0 +1,5 @@ +lf +lf +crlf
+lf +lf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf-utf8bom b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf-utf8bom new file mode 100644 index 000000000..dc88e3b91 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/more-lf-utf8bom @@ -0,0 +1,5 @@ +lf +lf +crlf
+lf +lf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/zero-byte b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/zero-byte new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/_workdir/zero-byte diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf new file mode 100644 index 000000000..26e1a742b --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf @@ -0,0 +1,4 @@ +crlf +crlf +crlf +crlf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf-utf8bom b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf-utf8bom new file mode 100644 index 000000000..32c6f22e3 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-crlf-utf8bom @@ -0,0 +1,4 @@ +crlf +crlf +crlf +crlf diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf-utf8bom.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf-utf8bom.fail new file mode 100644 index 000000000..547008e0f --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf-utf8bom.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'all-lf-utf8bom' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf.fail new file mode 100644 index 000000000..d992d4720 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/all-lf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'all-lf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-crlf new file mode 100644 index 000000000..af6fcf6da --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-crlf @@ -0,0 +1,4 @@ +one +two +three +four diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-lf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-lf.fail new file mode 100644 index 000000000..180663eca --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-all-lf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'binary-all-lf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr-crlf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr-crlf.fail new file mode 100644 index 000000000..f87ce3f16 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr-crlf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'binary-mixed-lf-cr-crlf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr.fail new file mode 100644 index 000000000..63eac58a4 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/binary-mixed-lf-cr.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'binary-mixed-lf-cr' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-crlf new file mode 100644 index 000000000..f4d25b796 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-crlf @@ -0,0 +1,22 @@ +⚽The rest is ASCII01. +The rest is ASCII02. +The rest is ASCII03. +The rest is ASCII04. +The rest is ASCII05. +The rest is ASCII06. +The rest is ASCII07. +The rest is ASCII08. +The rest is ASCII09. +The rest is ASCII10. +The rest is ASCII11. +The rest is ASCII12. +The rest is ASCII13. +The rest is ASCII14. +The rest is ASCII15. +The rest is ASCII16. +The rest is ASCII17. +The rest is ASCII18. +The rest is ASCII19. +The rest is ASCII20. +The rest is ASCII21. +The rest is ASCII22. diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-lf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-lf.fail new file mode 100644 index 000000000..fabf46617 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/few-utf8-chars-lf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'few-utf8-chars-lf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-crlf b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-crlf new file mode 100644 index 000000000..9a6c3533f --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-crlf @@ -0,0 +1,4 @@ +Lets sing! +♫♪♬♩ +Eat food +🍅🍕 diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-lf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-lf.fail new file mode 100644 index 000000000..b874f4bb9 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/many-utf8-chars-lf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'many-utf8-chars-lf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr-crlf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr-crlf.fail new file mode 100644 index 000000000..a353e0e82 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr-crlf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'mixed-lf-cr-crlf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr.fail new file mode 100644 index 000000000..0287e3250 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/mixed-lf-cr.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'mixed-lf-cr' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf-utf8bom.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf-utf8bom.fail new file mode 100644 index 000000000..e77b2b976 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf-utf8bom.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'more-crlf-utf8bom' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf.fail new file mode 100644 index 000000000..07f50c353 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-crlf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'more-crlf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf-utf8bom.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf-utf8bom.fail new file mode 100644 index 000000000..6994a8d01 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf-utf8bom.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'more-lf-utf8bom' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf.fail b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf.fail new file mode 100644 index 000000000..067a2e896 --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/more-lf.fail @@ -0,0 +1 @@ +LF would be replaced by CRLF in 'more-lf' diff --git a/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/zero-byte b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/zero-byte new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/resources/crlf_data/windows_to_odb/autocrlf_true,safecrlf_true,crlf/zero-byte |