From 1a8f2aaccf983804f7ca51cafe5f011ed26e2ab2 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Wed, 12 Jun 2024 11:49:51 +0900 Subject: [PATCH] meta: gitattributes Summary: Better markdown/css diff handling and binary handling Signed-off-by: Yongmin Hong Test Plan: not really? Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D271 --- .gitattributes | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..10ab780 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +* text=auto +*.sh text=auto eol=lf + +*.asc binary +*.gif binary +*.jpg binary +*.jpeg binary +*.mp3 binary +*.mp4 binary +*.png binary +*.webm binary +*.webp binary +*.woff2 binary + +*.css diff=css +*.html diff=html +*.md diff=markdown +*.php diff=php +*.sh diff=bash + +# GitHub Linguist detection +# https://github.com/github-linguist/linguist/blob/master/docs/overrides.md +.arclint linguist-language=json +.yamllint linguist-language=yaml