• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# The line "* text=auto !eol" means the following:
2#  For text files (auto-detected), EOLs will be converted on checkout to OS-dependent EOL (LF for Unix, CRLF for Windows).
3#  No EOL (end of line) conversion for binary files.
4* text=auto !eol
5
6# Note:
7#  "text" tells git the file is text.
8#  "-text" tells git the file is binary.
9#  The only difference between the two is that git will do EOL conversion for text files.
10#  "!eol" is the equivalent of "svneol=native".
11
12*.bat text !eol
13*.c text !eol diff=cpp
14*.cc text !eol diff=cpp
15*.classpath text !eol
16*.cmd text eol=crlf
17*.cpp text !eol diff=cpp
18*.css text !eol diff=css
19*.dsp text !eol
20*.dsw text !eol
21*.dtd text !eol
22*.el text !eol
23*.filters text !eol
24*.h text !eol diff=cpp
25*.htm text !eol diff=html
26*.html text !eol diff=html
27*.in text !eol
28*.java text !eol diff=java
29*.launch text !eol
30*.m4 text !eol
31*.mak text !eol
32*.md text !eol
33*.MF text !eol
34*.mk text !eol
35*.pl text !eol diff=perl
36*.pm text !eol diff=perl
37*.project text !eol
38*.properties text !eol
39*.props text !eol
40*.py text !eol diff=python
41*.rc text !eol
42*.sh text eol=lf
43*.sed text eol=lf
44*.sln text !eol
45*.stub text !eol
46*.targets text !eol
47*.txt text !eol
48*.ucm text !eol
49*.vcproj text !eol
50*.vcxproj text !eol
51*.xml text !eol
52*.xsl text !eol
53*.xslt text !eol
54AUTHORS text !eol
55BUILD text !eol
56COPYING text !eol
57Changelog text !eol
58LICENSE text !eol
59Makefile text !eol
60README text !eol
61SConscript text !eol
62SConstruct text !eol
63configure text !eol
64
65# Explicitly set the following file types as binary files.
66*.bin -text
67*.brk -text
68*.cnv -text
69*.icu -text
70*.res -text
71*.nrm -text
72*.spp -text
73*.tri2 -text
74*.otf -text
75*.utf16be -text
76
77# Enable syntax highlighting on GitHub.com
78.cpyskip.txt linguist-language=Ignore-List
79
80# Use JSONC for syntax highlighting on GitHub.com
81*.json linguist-language=jsonc
82
83