Add .gitattributes and .gitignore files and normalize line endings in the repository (#10)

This commit is contained in:
Colin Finck 2017-10-04 20:37:32 +02:00 committed by GitHub
parent c609406c2f
commit 9ebf43567d
309 changed files with 66975 additions and 66873 deletions

82
.gitattributes vendored Normal file
View file

@ -0,0 +1,82 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
# Files with these extensions are accepted source files inside the ReactOS
# tree. They should have native line endings of the OS.
*.acf text
*.asm text
*.c text
*.cc text
*.cmake text
*.cpp text
*.cxx text
*.h text
*.hpp text
*.hxx text
*.idl text
*.inc text
*.inl text
*.klc text
*.l text
*.lds text
*.md text
*.rc text
*.s text
*.S text
*.sfd text
*.spec text
*.svg text
*.txt text
*.TXT text
*.y text
# Files with these extensions end up in the built ReactOS system, so they
# need to have CRLF line endings.
*.bat text eol=crlf
*.cmd text eol=crlf
*.exp text eol=crlf
*.hhc text eol=crlf
*.hhp text eol=crlf
*.ini text eol=crlf
*.INI text eol=crlf
*.inf text eol=crlf
*.inf.tpl text eol=crlf
*.js text eol=crlf
*.manifest text eol=crlf
*.mc text eol=crlf
*.mof text eol=crlf
*.rgs text eol=crlf
*.sif text eol=crlf
*.vbs text eol=crlf
*.vcxproj text eol=crlf
# Files with these extensions are accepted binary files inside the ReactOS
# tree. Git must not tamper with them at all!
*.avi binary
*.bin binary
*.bmf binary
*.bmp binary
*.BMP binary
*.chm binary
*.cur binary
*.dll binary
*.emf binary
*.gif binary
*.ico binary
*.jpg binary
*.mp3 binary
*.nls binary
*.otf binary
*.pdn binary
*.pfb binary
*.pfm binary
*.png binary
*.psd binary
*.ttc binary
*.ttf binary
*.wav binary
*.xcf binary
# All other extensions not explicitly mentioned here are left for Git to
# handle automatically.
# You must not rely on them having a particular line ending style!

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
output-*

3
base/services/nfsd/.gitattributes vendored Normal file
View file

@ -0,0 +1,3 @@
# These files are distributed with ReactOS.
ms-nfs41-idmap.conf text eol=crlf
netconfig text eol=crlf

2
boot/bootdata/.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# This one will be distributed in the ISO.
readme.txt text eol=crlf

View file

@ -0,0 +1,2 @@
# This file is not handled by the default .gitattributes
testboot.bat.sample text eol=crlf

2
hal/halx86/legacy/bus/.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
pci_classes.ids text eol=crlf
pci_vendors.ids text eol=crlf

6
media/drivers/etc/.gitattributes vendored Normal file
View file

@ -0,0 +1,6 @@
# These files are distributed with ReactOS.
hosts text eol=crlf
KDBinit text eol=crlf
networks text eol=crlf
protocol text eol=crlf
services text eol=crlf

2
media/rapps/.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# RAPPS .txt files are distributed as part of ReactOS.
*.txt text eol=crlf

2
subsystems/mvdm/config/.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
AUTOEXEC.NT text eol=crlf
CONFIG.NT text eol=crlf