From ce1aa8b0d1096808ef8b07ef4853b6e776ec142a Mon Sep 17 00:00:00 2001 From: S John CD Date: Fri, 4 Oct 2024 16:57:31 -0700 Subject: [PATCH] Update gitattributes --- .devcontainer/ci.sh | 0 .devcontainer/dev.sh | 0 .devcontainer/publish.sh | 0 .gitattributes | 108 +++++++++++++++++++++++++++++++ src/fs/read_files.rs | 0 src/lib.rs | 0 src/link/link_and_linkbuilder.rs | 0 src/link/rules.rs | 0 src/parser/extract_links.rs | 0 9 files changed, 108 insertions(+) mode change 100755 => 100644 .devcontainer/ci.sh mode change 100755 => 100644 .devcontainer/dev.sh mode change 100755 => 100644 .devcontainer/publish.sh mode change 100755 => 100644 src/fs/read_files.rs mode change 100755 => 100644 src/lib.rs mode change 100755 => 100644 src/link/link_and_linkbuilder.rs mode change 100755 => 100644 src/link/rules.rs mode change 100755 => 100644 src/parser/extract_links.rs diff --git a/.devcontainer/ci.sh b/.devcontainer/ci.sh old mode 100755 new mode 100644 diff --git a/.devcontainer/dev.sh b/.devcontainer/dev.sh old mode 100755 new mode 100644 diff --git a/.devcontainer/publish.sh b/.devcontainer/publish.sh old mode 100755 new mode 100644 diff --git a/.gitattributes b/.gitattributes index 24a23dd..fdc055b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,111 @@ * text=auto eol=lf *.md linguist-detectable + +*.rs text diff=rust +*.toml text diff=toml +Cargo.lock text + +# Fix syntax highlighting on GitHub to allow comments +.vscode/*.json linguist-language=JSON-with-Comments + +# Fix syntax highlighting on GitHub to allow comments +.devcontainer.json linguist-language=JSON-with-Comments +devcontainer.json linguist-language=JSON-with-Comments + + +# Common settings that generally should always be used with your language specific settings + +# +# The above will handle all files NOT found below +# + +# Documents +*.bibtex text diff=bibtex +*.doc diff=astextplain +*.DOC diff=astextplain +*.docx diff=astextplain +*.DOCX diff=astextplain +*.dot diff=astextplain +*.DOT diff=astextplain +*.pdf diff=astextplain +*.PDF diff=astextplain +*.rtf diff=astextplain +*.RTF diff=astextplain +*.md text diff=markdown +*.mdx text diff=markdown +*.tex text diff=tex +*.adoc text +*.textile text +*.mustache text +*.csv text eol=crlf +*.tab text +*.tsv text +*.txt text +*.sql text +*.epub diff=astextplain + +# Graphics +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.tif binary +*.tiff binary +*.ico binary +# SVG treated as text by default. +*.svg text +# If you want to treat it as binary, +# use the following line instead. +# *.svg binary +*.eps binary + +# Scripts +*.bash text eol=lf +*.fish text eol=lf +*.ksh text eol=lf +*.sh text eol=lf +*.zsh text eol=lf +# These are explicitly windows files and should use crlf +*.bat text eol=crlf +*.cmd text eol=crlf +*.ps1 text eol=crlf + +# Serialisation +*.json text +*.toml text +*.xml text +*.yaml text +*.yml text + +# Archives +*.7z binary +*.bz binary +*.bz2 binary +*.bzip2 binary +*.gz binary +*.lz binary +*.lzma binary +*.rar binary +*.tar binary +*.taz binary +*.tbz binary +*.tbz2 binary +*.tgz binary +*.tlz binary +*.txz binary +*.xz binary +*.Z binary +*.zip binary +*.zst binary + +# Text files where line endings should be preserved +*.patch -text + +# +# Exclude files from exporting +# + +.gitattributes export-ignore +.gitignore export-ignore +.gitkeep export-ignore diff --git a/src/fs/read_files.rs b/src/fs/read_files.rs old mode 100755 new mode 100644 diff --git a/src/lib.rs b/src/lib.rs old mode 100755 new mode 100644 diff --git a/src/link/link_and_linkbuilder.rs b/src/link/link_and_linkbuilder.rs old mode 100755 new mode 100644 diff --git a/src/link/rules.rs b/src/link/rules.rs old mode 100755 new mode 100644 diff --git a/src/parser/extract_links.rs b/src/parser/extract_links.rs old mode 100755 new mode 100644