Add .gitattributes entry for handling cross platform text files

This commit is contained in:
Pirate Praveen 2022-08-27 14:17:13 +05:30
parent be4b19edf4
commit 63bc5e73b7
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75
2 changed files with 9 additions and 0 deletions

View file

@ -23,3 +23,4 @@ tweaks/0050-add-salsa-link-to-help.patch
tweaks/0060-fix-relative-paths.patch
tweaks/0070-remove-capybara-screenshot-rspec.patch
tweaks/0080-search-binaries-in-path.patch
tweaks/0090-cross-platform-text.patch

View file

@ -0,0 +1,8 @@
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,5 @@
+# Auto detect text files and perform LF normalization
+* text=auto
VERSION merge=ours
Dangerfile gitlab-language=ruby
*.pdf filter=lfs diff=lfs merge=lfs -text