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>2018-08-30 13:51:54 +0200
commitd48bfe49cecd509685304df6785f706e558e1813 (patch)
treec6b319b6fc1bc68eca0cfa91fd7543293463a00f /.gitattributes
parent3b7cdb3491e9bf9b2a4a1f43d266137d4adc5b57 (diff)
downloadqtwebengine-chromium-d48bfe49cecd509685304df6785f706e558e1813.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