From 63bc5e73b726676809ed3b5bb5126fc6f635c867 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sat, 27 Aug 2022 14:17:13 +0530 Subject: [PATCH] Add .gitattributes entry for handling cross platform text files --- debian/patches/series | 1 + debian/patches/tweaks/0090-cross-platform-text.patch | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 debian/patches/tweaks/0090-cross-platform-text.patch diff --git a/debian/patches/series b/debian/patches/series index 993c276a78..a7a134ac34 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 diff --git a/debian/patches/tweaks/0090-cross-platform-text.patch b/debian/patches/tweaks/0090-cross-platform-text.patch new file mode 100644 index 0000000000..362330bfa1 --- /dev/null +++ b/debian/patches/tweaks/0090-cross-platform-text.patch @@ -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