-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
40 lines (34 loc) · 1.11 KB
/
.gitattributes
File metadata and controls
40 lines (34 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# .gitattributes
#
# Line ending policy for delphi-compiler-versions
# note to self
# git add --renormalize .
# git commit -m "chore: enforce CRLF for .inc via .gitattributes"
#
# Default: LF for all text files. Explicit overrides below for file types
# that must be CRLF on Windows regardless of the platform running CI.
# Catch-all: normalise all text files to LF in the repo
* text eol=lf
# Delphi source files should always be CRLF
*.inc text eol=crlf
*.pas text eol=crlf
# PowerShell scripts must be CRLF. PowerShell on Windows writes CRLF by
# default; keeping scripts CRLF avoids spurious diffs when Windows devs
# edit files that were last touched by the ubuntu-slim CI runner (which
# writes LF). Prevent ubuntu workflows from producing LF
*.ps1 text eol=crlf
*.psm1 text eol=crlf
*.psd1 text eol=crlf
# Batch files must be CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
# JSON, YAML, Markdown, and shell scripts: LF only.
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.sh text eol=lf
# Binary files: no line ending conversion.
*.png binary
*.jpg binary
*.zip binary