summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authormartijn <martijn@martijnc.be>2017-07-09 14:44:30 -0700
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-02-25 10:39:50 +0100
commit7ee2e9b927dd1f6889fc83ad6e76e0457453086f (patch)
treec04d00abda5244d3932c59f691b3a6d1839da94a /.gitattributes
parentcd0ae17406357e93e48030163e53c54425ff9656 (diff)
downloadqtwebengine-chromium-7ee2e9b927dd1f6889fc83ad6e76e0457453086f.tar.gz
[Backport] Add a .gitattributes file to force LF line-endings in .pins files.
This change forces the pins files to use LF line-endings and adds a check to detect CRLF line-endings that outputs a more helpful error message. BUG=729553 Change-Id: I9a470c1d07dcacabcae1ce9029f35323cd86b4d2 Review-Url: https://codereview.chromium.org/2941543002 Cr-Commit-Position: refs/heads/master@{#485165} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000000..a6d97b28af3
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Force LF checkout of the pins files to avoid transport_security_state_generator errors.
+/chromium/net/http/*.pins text eol=lf