mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-10-05 07:27:33 +02:00
Add line-ending policy to .gitattributes; renormalize
* text=auto eol=lf (store LF, check out LF) with *.ps1 text eol=crlf so the Windows PowerShell scripts stay CRLF. Prevents the CRLF<->LF churn that made the whole-file diffs. The .ps1 working-tree bytes are unchanged.
This commit is contained in:
1 parent
16ece6a119
commit
9d739f816e
3 files changed
+417
-411
No files matched your search
@@ -4,3 +4,9 @@
|
||||
*.txt linguist-detectable=false
|
||||
*.json linguist-detectable=false
|
||||
*.ps1 linguist-detectable=false
|
||||
|
||||
# Line endings: store LF in the repository; check out LF everywhere except the
|
||||
# Windows PowerShell scripts, which stay CRLF. Prevents CRLF<->LF churn.
|
||||
* text=auto eol=lf
|
||||
*.ps1 text eol=crlf
|
||||
|
||||
Reference in new issue
Block a user