summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-03 19:38:33 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-11-04 15:02:29 +0000
commit66d2bf7659691167f4e4e48a281774e25a887960 (patch)
treeec9d5ce0b52ce6d12836e4d46ceb972631b8f279 /.gitattributes
parent8d5b7df0b6340ba6a9b7c500fa430e5a2a3a4e15 (diff)
Give batch files CRLF line endings
Batch files should be CRLF, otherwise they may end up triggering an "The system cannot find the batch label specified" error. Relying on core.autocrlf to ensure this runs the risk of the user not having the config set correctly, and also doesn't cover the use of the same source checkouts across platforms. Change-Id: I3166b99ce38e4ba9a0674336d69aa915e27860d1 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 1a045fa1f0..c138aa11cc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,3 +2,5 @@
.gitignore export-ignore
.gitattributes export-ignore
.commit-template export-ignore
+*.bat text eol=crlf
+*.bat.in text eol=crlf