aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Trzesniewski <lucas.trzesniewski@gmail.com>2025-03-03 13:02:35 +0100
committerGitHub <noreply@github.com>2025-03-03 12:02:35 +0000
commit5bffda617b5eae230a8952f13296721e89c14f95 (patch)
treec92d84825b5ada98d9004fb7c3d78bfaf66ae947
parentchore(deps): Update config to 0.15.8 (#2580) (diff)
downloadatuin-5bffda617b5eae230a8952f13296721e89c14f95.zip
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
-rw-r--r--.gitattributes5
-rw-r--r--crates/atuin/src/shell/.gitattributes1
2 files changed, 6 insertions, 0 deletions
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
diff --git a/crates/atuin/src/shell/.gitattributes b/crates/atuin/src/shell/.gitattributes
new file mode 100644
index 00000000..fae8897c
--- /dev/null
+++ b/crates/atuin/src/shell/.gitattributes
@@ -0,0 +1 @@
+* eol=lf