From 81afba50356a40129b98f539b5f83974c01b8100 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 7 Jul 2023 11:24:35 +0900 Subject: [PATCH] infra: updated git setting. @Issue: https://github.com/thorvg/thorvg/issues/1519 --- .gitattributes | 8 ++++++++ .gitignore | 9 +++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..b791d92b --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Normalize EOL for all files that Git considers text files +* text=auto eol=lf + +# Except for bat files, which are Windows only files +*.bat eol=crlf + +# And some test files where the EOL matters +*.json -text diff --git a/.gitignore b/.gitignore index 85bc5d74..63923485 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ build builddir -.vscode -*.swp doc -capi_test.tvg -test.tvg +.vscode .idea +*.swp +*.tvg +*.tmp +*.code-workspace