File: .gitattributes

package info (click to toggle)
opensurgsim 0.7.0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 23,600 kB
  • ctags: 16,440
  • sloc: cpp: 135,427; ansic: 4,247; python: 3,934; makefile: 36
file content (123 lines) | stat: -rw-r--r-- 3,454 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
##### Global default #####

## Any file not listed below will not have EOL characters normalized.
##   (Diffing and merging will depend on whether Git thinks the file is really
##   text or binary.)
*                       -text

## Alternatively, we could let Git auto-detect text files and normalize EOL,
##   by setting:
## *                       text=auto


##### Source code #####

## C++ and C source files
*.h                     text diff=cpp
*.cc                    text diff=cpp
*.c                     text diff=cpp
## (Discouraged C++ extensions)
*.cpp                   text diff=cpp
*.cxx                   text diff=cpp
*.hh                    text diff=cpp

## Python scripts
*.py                    text eol=lf diff=python
## Perl scripts/libraries/modules
*.perl                  text eol=lf diff=perl
*.pl                    text eol=lf diff=perl
*.pm                    text eol=lf diff=perl
## Shell scripts
*.sh                    text eol=lf
*.bash                  text eol=lf
## Windows batch scripts
*.bat                   text eol=crlf

## Shader program source
*.frag                  text diff=cpp
*.vert                  text diff=cpp


##### Other file types #####

## Text files and documentation
*.txt                   text
README*                 text
INSTALL*                text
LICENSE*                text
NOTICE*                 text
## Non-text documentation
*.html                  text diff=html
*.pdf                   binary
*.rtf                   binary

## Doxygen documentation configuration files
Doxyfile                text
Doxyfile.in             text
*.dox                   text

## Image files
*.png                   binary
*.PNG                   binary
*.jpg                   binary
*.JPG                   binary
*.gif                   binary
*.GIF                   binary
*.bmp                   binary
*.BMP                   binary
*.ico                   binary
*.ICO                   binary
*.ppm                   binary
*.pgm                   binary
*.pbm                   binary
*.xpm                   -text diff -merge
## Vector graphics
*.svg                   -text diff -merge

## Model files
*.obj                   text diff -merge
*.mtl                   text diff -merge
*.osg                   text diff -merge
*.osgt                  text diff -merge
*.ply                   text diff -merge
*.stl                   text diff -merge
*.osgb                  binary
*.oct                   binary
*.phi                   binary
*.rgd                   binary
*.tet                   binary
*.tri                   binary

## CMake files
CMakeLists.txt          text
*.cmake                 text

## Makefiles
Makefile                text
makefile                text
GNUmakefile             text
*.mk                    text

## Various IDE project files, etc
*.sln                   -text diff merge
*.vcxproj               -text diff -merge
*.vcxproj.filters       -text diff -merge
*.props                 -text diff -merge
*.pbxproj               -text diff -merge

## Resource files and UI design descriptions
*.qrc                   text
*.ui                    text
*.rc                    text

## Diff/patch files
*.diff                  text diff -merge
*.patch                 text diff -merge

## XML and configuration
*.xml                   text
*.cfg                   text

## Self-reference =)
.gitignore              text
.gitattributes          text