在 2024-10-08 23:00, Antonin Décimo 写道:
Otherwise bash errors with errors such as

     ./configure: line 17: $'\r': command not found
     ./configure: line 33: syntax error near unexpected token `newline'
     '/configure: line 33: `     ;;

Signed-off-by: Antonin Décimo <anto...@tarides.com>
---
  .gitattributes                                 | 10 ++++++++++
  mingw-w64-libraries/winpthreads/.gitattributes | 10 ++++++++++
  2 files changed, 20 insertions(+)
  create mode 100644 .gitattributes
  create mode 100644 mingw-w64-libraries/winpthreads/.gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..f8beb5d51
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto

Would you prefer `autocrlf=input` to `autocrlf=auto`?


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to