Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .gitattributes #2188

Merged
merged 15 commits into from
Sep 13, 2022
Prev Previous commit
Next Next commit
Update .gitattributes
  • Loading branch information
isaak654 committed Aug 30, 2022
commit 53aac9272b5d6effa4691b2732d899c89bdd94cf
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@
*.cmd text working-tree-encoding=UTF-8
*.ts text working-tree-encoding=UTF-8 eol=lf
*.md text working-tree-encoding=UTF-8 eol=lf
Installer/*.txt text working-tree-encoding=UTF-8 eol=lf
Sandboxie/install/*.txt text working-tree-encoding=UTF-8 eol=lf
Installer/isl/*.isl text eol=lf

# Set utf-8-bom for some Inno Setup languages subject to encoding issues.
# https://github.com/sandboxie-plus/Sandboxie/pull/2173
Installer/isl/ChineseSimplified.isl text working-tree-encoding=UTF-8-BOM
Installer/isl/ChineseTraditional.isl text working-tree-encoding=UTF-8-BOM
Installer/isl/Korean.isl text working-tree-encoding=UTF-8-BOM

# Set crlf EOL for *.bat and *.cmd files that contain call/goto block.
Zerorigin marked this conversation as resolved.
Show resolved Hide resolved
# https://serverfault.com/questions/429594/is-it-safe-to-write-batch-files-with-unix-line-endings/795638
Installer/merge_builds.cmd eol=crlf
Expand Down