Skip to content

Commit a2154d4

Browse files
Update .gitattributes
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent 79c81e2 commit a2154d4

File tree

1 file changed

+15
-46
lines changed

1 file changed

+15
-46
lines changed

.gitattributes

Lines changed: 15 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,23 @@
1-
# SPDX-License-Identifier: AGPL-3.0-or-later
2-
# RSR-compliant .gitattributes
1+
# Palimpsest License — Git Attributes
32

3+
# Normalize line endings
44
* text=auto eol=lf
55

6-
# Source
7-
*.rs text eol=lf diff=rust
8-
*.ex text eol=lf diff=elixir
9-
*.exs text eol=lf diff=elixir
10-
*.jl text eol=lf
11-
*.res text eol=lf
12-
*.resi text eol=lf
13-
*.ada text eol=lf diff=ada
14-
*.adb text eol=lf diff=ada
15-
*.ads text eol=lf diff=ada
16-
*.hs text eol=lf
17-
*.chpl text eol=lf
18-
*.scm text eol=lf
19-
*.ncl text eol=lf
20-
*.nix text eol=lf
6+
# Treat AsciiDoc as text
7+
*.adoc text
218

22-
# Docs
23-
*.md text eol=lf diff=markdown
24-
*.adoc text eol=lf
25-
*.txt text eol=lf
9+
# Scheme files
10+
*.scm text
2611

27-
# Data
28-
*.json text eol=lf
29-
*.yaml text eol=lf
30-
*.yml text eol=lf
31-
*.toml text eol=lf
12+
# Rust
13+
*.rs text
3214

33-
# Config
34-
.gitignore text eol=lf
35-
.gitattributes text eol=lf
36-
justfile text eol=lf
37-
Makefile text eol=lf
38-
Containerfile text eol=lf
15+
# License text should never be CRLF-normalized
16+
legal/PALIMPSEST-MPL-1.0.txt text eol=lf
3917

40-
# Scripts
41-
*.sh text eol=lf
18+
# Linguist overrides
19+
*.scm linguist-language=Scheme
20+
*.adoc linguist-language=AsciiDoc
4221

43-
# Binary
44-
*.png binary
45-
*.jpg binary
46-
*.gif binary
47-
*.pdf binary
48-
*.woff2 binary
49-
*.zip binary
50-
*.gz binary
51-
52-
# Lock files
53-
Cargo.lock text eol=lf -diff
54-
flake.lock text eol=lf -diff
22+
# Prevent GitHub from interpreting Pages
23+
.nojekyll export-ignore

0 commit comments

Comments
 (0)