Skip to content

Commit c202a8e

Browse files
authored
Add a .gitattributes file to specify eol=LF (bytecodealliance#1370)
* Add a .gitattributes file specifying LF-style line endings. This is similar to [Rust's .gitattributes file] though simplified. Most of our source and documentation files already used LF-style line endings, including *.cs files, so this makes things more consistent. [Rust's .gitattributes file]: https://github.com/rust-lang/rust/blob/master/.gitattributes * Remove UTF-8 BOMs in *.cs files. Most of our *.cs files don't have UTF-8 BOMs, so this makes things more consistent.
1 parent 815e340 commit c202a8e

File tree

21 files changed

+1164
-1157
lines changed

21 files changed

+1164
-1157
lines changed

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Use LF-style line endings for all text files.
2+
* text=auto eol=lf
3+
4+
# Older git versions try to fix line endings on images, this prevents it.
5+
*.png binary
6+
*.ico binary
7+
*.wasm binary

crates/misc/dotnet/docs/.gitignore

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
###############
2-
# folder #
3-
###############
4-
/**/DROP/
5-
/**/TEMP/
6-
/**/packages/
7-
/**/bin/
8-
/**/obj/
9-
_site
1+
###############
2+
# folder #
3+
###############
4+
/**/DROP/
5+
/**/TEMP/
6+
/**/packages/
7+
/**/bin/
8+
/**/obj/
9+
_site
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
###############
2-
# temp file #
3-
###############
4-
*.yml
5-
.manifest
1+
###############
2+
# temp file #
3+
###############
4+
*.yml
5+
.manifest

crates/misc/dotnet/docs/api/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Wasmtime for NET
2-
3-
This is the .NET API for [Wasmtime](https://github.com/bytecodealliance/wasmtime).
4-
1+
# Wasmtime for NET
2+
3+
This is the .NET API for [Wasmtime](https://github.com/bytecodealliance/wasmtime).
4+
55
See the [documentation](Wasmtime.html#classes) for the various .NET classes.

0 commit comments

Comments
 (0)