-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy path.gitattributes
More file actions
85 lines (77 loc) · 3.7 KB
/
Copy path.gitattributes
File metadata and controls
85 lines (77 loc) · 3.7 KB
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
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Pin sample source files used by deterministic taxonomy fixtures to LF so the
# fixtures generated from them (snippet text, contextRegion text, artifact
# sha-256) stay byte-identical across Windows / Linux / macOS checkouts.
###############################################################################
src/Sarif/Taxonomies/SampleCode.cs eol=lf
docs/ai/samples/grouping-findings/src/api/proxy.ts eol=lf
# Pin the generated CWE taxonomy artifacts to LF so the embedded resources
# (hashed into Sarif.dll) don't change across host OSes when contributors
# regenerate them via `python3 scripts/generate_cwe_taxonomy.py`.
src/Sarif/Taxonomies/CweTaxonomy.sarif text eol=lf
src/Sarif/Taxonomies/CweTaxonomy.brief.md text eol=lf
# Pinned: this resource is embedded and hashed; line-ending drift would change the hash.
src/Test.UnitTests.Sarif/TestData/InsertOptionalDataVisitor/InsertOptionalDataVisitor.txt text eol=crlf
# Pinned: rule message strings are compiled into embedded resources and reproduced
# verbatim in functional-test baselines; LF drift would rewrite every multi-line
# message and break those baselines.
src/Sarif.Multitool.Library/Rules/RuleResources.resx text eol=crlf
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain