branch: elpa/editorconfig
commit 646c31b4b7b0bd8805cf2914239ac9aa1cd6d962
Author: Copilot <[email protected]>
Commit: GitHub <[email protected]>

    Add .gitattributes to enforce LF line endings for .editorconfig (#387)
    
    * Initial plan
    
    * Add .gitattributes to ensure .editorconfig uses LF line endings
    
    This fixes Windows CI failures where Git automatically converts LF to CRLF,
    causing the EditorConfig parser to fail when `end_of_line = lf` is 
specified.
    
    Fixes #380
    
    Co-authored-by: xuhdev <[email protected]>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] 
<[email protected]>
    Co-authored-by: Hong Xu <[email protected]>
---
 .gitattributes | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..94f269ed047
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Ensure .editorconfig always uses LF line endings
+.editorconfig text eol=lf

Reply via email to