|
5 | 5 | # git add --renormalize . |
6 | 6 | # git status [just to show what files were renormalized] |
7 | 7 | # git commit -m "Normalize line endings" |
8 | | - |
9 | 8 | # Anything Git auto-detects as text gets normalized and checked out as LF |
10 | 9 | * text=auto eol=lf |
11 | | - |
12 | 10 | # Explicitly set a bunch of known extensions to text, in case auto detection gets confused. |
13 | 11 | *.ql text |
14 | 12 | *.qll text |
|
40 | 38 | *.lua text |
41 | 39 | *.expected text |
42 | 40 | *.go text |
43 | | - |
44 | 41 | # Explicitly set a bunch of known extensions to binary, because Git < 2.10 will treat |
45 | 42 | # `* text=auto eol=lf` as `* text eol=lf` |
46 | 43 | *.png -text |
|
49 | 46 | *.gif -text |
50 | 47 | *.dll -text |
51 | 48 | *.pdb -text |
52 | | - |
53 | 49 | java/ql/test/stubs/**/*.java linguist-generated=true |
54 | 50 | java/ql/test/experimental/stubs/**/*.java linguist-generated=true |
55 | | - |
56 | 51 | # Force git not to modify line endings for go or html files under the go/ql directory |
57 | 52 | go/ql/**/*.go -text |
58 | 53 | go/ql/**/*.html -text |
59 | 54 | # Force git not to modify line endings for go dbschemes |
60 | 55 | go/*.dbscheme -text |
61 | 56 | # Preserve unusual line ending from codeql-go merge |
62 | 57 | go/extractor/opencsv/CSVReader.java -text |
63 | | - |
64 | 58 | # For some languages, upgrade script testing references really old dbscheme |
65 | 59 | # files from legacy upgrades that have CRLF line endings. Since upgrade |
66 | 60 | # resolution relies on object hashes, we must suppress line ending conversion |
67 | 61 | # for those testing dbscheme files. |
68 | 62 | */ql/lib/upgrades/initial/*.dbscheme -text |
69 | | - |
70 | 63 | # Generated test files - these are synced from the standard JavaScript libraries using |
71 | 64 | # `javascript/ql/experimental/adaptivethreatmodeling/test/update_endpoint_test_files.py`. |
72 | 65 | javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/**/*.js linguist-generated=true -merge |
73 | 66 | javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/**/*.ts linguist-generated=true -merge |
74 | | - |
75 | 67 | # Auto-generated modeling for Python |
76 | 68 | python/ql/lib/semmle/python/frameworks/data/internal/subclass-capture/*.yml linguist-generated=true |
77 | | - |
78 | 69 | # auto-generated bazel lock file |
79 | 70 | ruby/extractor/cargo-bazel-lock.json linguist-generated=true |
80 | 71 | ruby/extractor/cargo-bazel-lock.json -merge |
| 72 | +/java/kotlin-extractor/deps/*.jar filter=lfs diff=lfs merge=lfs -text |
0 commit comments