From 44555de69a270cfeddf4098c274b39999ec49ac2 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sun, 12 Jan 2025 10:46:34 +0800 Subject: [PATCH] update .gitattributes Reflect the current state of the codebase --- .gitattributes | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitattributes b/.gitattributes index 5328a94eb..1fdb94741 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,9 +5,10 @@ # let git show off diff hunk headers, help git diff -L: # https://git-scm.com/docs/gitattributes -*.cpp diff=cpp +*.c diff=cpp *.h diff=cpp *.py diff=py +*.rs diff=rust # add a [diff "fish"] to git config with pattern *.fish diff=fish @@ -24,11 +25,9 @@ # to make cargo vendor work correctly /.cargo/config.toml -# for linguist; let github identify our project as C++ instead of C due to pcre2 -pcre2/** linguist-vendored +# for linguist, which drives GitHub's language statistics alpine.js linguist-vendored doc_src/** linguist-documentation *.fish linguist-language=fish -src/*.h linguist-language=c++ -src/builtins/*.h linguist-language=c++ +# see 70f2899fcd which attempts to "rig the count" share/completions/*.fish linguist-documentation