This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Add a .gitattributes file

Message ID
DKIM signature
Download raw message
Patch: +55 -0
On Windows, git is oblidged to handle the differences in line endings
between OSes and make decisions about which files are text and which are
binary. This file informs those decisions.
 .gitattributes | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 .gitattributes

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..b42bf04
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,55 @@
* text=auto

*.rs rust diff=rust
Cargo.lock linguist-generated=false

# Older git versions try to fix line endings on images and fonts, this prevents it.
*.png binary
*.ico binary
*.woff binary
*.woff2 binary

# Source code

*.desktop text
*.json text
*.md text
*.nix text eol=lf
*.rs text
*.sh text eol=lf
.gitattributes text
.gitignore text

# Build stuff

*.TAG text
*.d text
*.ll text
build-script-build-script-build text
run-build-script-build-script-build text
stderr text
target/**/*output text
target/**/output-* text
target/debug/build/*/output text

# Not really "binary", but not text either.
*.cargo-lock binary
*.timestamp binary

# Binary stuff (build stuff)
*.a binary
*.bin binary
*.dll binary
*.exe binary
*.exp binary
*.lib binary
*.o binary
*.pdb binary
*.rlib binary
*.rmeta binary
*.toml text
*.txt text
*.yml text
/target/debug/.fingerprint/**/dep-* binary
/target/debug/.fingerprint/**/lib-* binary
Message ID
<20230220214559.945-1-me@djha.skin> (view parent)
DKIM signature
Download raw message
Patch applied [b74ecb4], thank you!

[b74ecb4]: https://git.sr.ht/~soywod/himalaya-lib/commit/b74ecb406fbb3182d13d2525f44be52e43bbcc00
Reply to thread Export thread (mbox)