Skip to content

Commit

Permalink
Give batch files CRLF line endings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vohi authored and torarnv committed Nov 4, 2020
1 parent 8d5b7df commit 66d2bf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
.gitignore export-ignore
.gitattributes export-ignore
.commit-template export-ignore
*.bat text eol=crlf
*.bat.in text eol=crlf

0 comments on commit 66d2bf7

Please sign in to comment.