зеркало из https://github.com/github/codeql.git
Normalize all text files to LF
Use `* text=auto eol=lf`
This commit is contained in:
Родитель
26abf5d4a2
Коммит
1f36f5552f
|
@ -1,40 +1,41 @@
|
||||||
# The following file types will be normalized to LF line endings in the Git
|
# Text files will be normalized to LF line endings in the Git database, and will keep those LF line
|
||||||
# database, and will keep those LF line endings in the working tree even on
|
# endings in the working tree even on Windows. If you make changes below, you should renormalize the
|
||||||
# Windows. Any other files will have whatever line endings they had when they
|
# affected files by running the following from the root of this repo (requires Git 2.16 or greater):
|
||||||
# were committed. If you add new entries 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 add --renormalize .
|
||||||
# git status [just to show what files were renormalized]
|
# git status [just to show what files were renormalized]
|
||||||
# git commit -m "Normalize line endings"
|
# git commit -m "Normalize line endings"
|
||||||
#
|
|
||||||
# Also, please update .editorconfig to handle any new entries as well.
|
# Anything Git auto-detects as text gets normalized and checked out as LF
|
||||||
*.ql eol=lf
|
* text=auto eol=lf
|
||||||
*.qll eol=lf
|
|
||||||
*.qlref eol=lf
|
# Explicitly set a bunch of known extensions to text, in case auto detection gets confused.
|
||||||
*.dbscheme eol=lf
|
*.ql text
|
||||||
*.qhelp eol=lf
|
*.qll text
|
||||||
*.html eol=lf
|
*.qlref text
|
||||||
*.htm eol=lf
|
*.dbscheme text
|
||||||
*.xhtml eol=lf
|
*.qhelp text
|
||||||
*.xhtm eol=lf
|
*.html text
|
||||||
*.js eol=lf
|
*.htm text
|
||||||
*.mjs eol=lf
|
*.xhtml text
|
||||||
*.ts eol=lf
|
*.xhtm text
|
||||||
*.json eol=lf
|
*.js text
|
||||||
*.yml eol=lf
|
*.mjs text
|
||||||
*.yaml eol=lf
|
*.ts text
|
||||||
*.c eol=lf
|
*.json text
|
||||||
*.cpp eol=lf
|
*.yml text
|
||||||
*.h eol=lf
|
*.yaml text
|
||||||
*.hpp eol=lf
|
*.c text
|
||||||
*.md eol=lf
|
*.cpp text
|
||||||
*.stats eol=lf
|
*.h text
|
||||||
*.xml eol=lf
|
*.hpp text
|
||||||
*.sh eol=lf
|
*.md text
|
||||||
*.pl eol=lf
|
*.stats text
|
||||||
*.java eol=lf
|
*.xml text
|
||||||
*.cs eol=lf
|
*.sh text
|
||||||
*.py eol=lf
|
*.pl text
|
||||||
*.lua eol=lf
|
*.java text
|
||||||
|
*.cs text
|
||||||
|
*.py text
|
||||||
|
*.lua text
|
||||||
|
*.expected text
|
||||||
|
|
Загрузка…
Ссылка в новой задаче