From 5bffda617b5eae230a8952f13296721e89c14f95 Mon Sep 17 00:00:00 2001 From: Lucas Trzesniewski Date: Mon, 3 Mar 2025 13:02:35 +0100 Subject: fix: sql files checksums (#2601) * fix: sql files checksums Checking out on Windows may cause *.sql files to have CRLF line endings, which will change their checksums and cause migration errors. https://github.com/launchbadge/sqlx/issues/2659 * fix: ensure shell scripts use lf --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..86e347ec --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +*.sh eol=lf +*.nix eol=lf +*.zsh eol=lf + +*.sql eol=lf -- cgit v1.3.1