mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Force LF line endings for .ql, .qll, and .qlref files
This commit is contained in:
13
.gitattributes
vendored
Normal file
13
.gitattributes
vendored
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# The following file types will be normalized to LF line endings in the Git
|
||||||
|
# database, and will keep those LF line endings in the working tree even on
|
||||||
|
# Windows. Any other files will have whatever line endings they had when they
|
||||||
|
# were committed. If you add new entires below, you should renormalize the
|
||||||
|
# affected files by running the following from the root of this repo (requires
|
||||||
|
# Git 2.16 or greater):
|
||||||
|
#
|
||||||
|
# git add --renormalize .
|
||||||
|
# git status [just to show what files were renormalized]
|
||||||
|
# git commit -m "Normalize line endings"
|
||||||
|
*.ql eol=lf
|
||||||
|
*.qll eol=lf
|
||||||
|
*.qlref eol=lf
|
||||||
Reference in New Issue
Block a user