-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.gitattributes
More file actions
35 lines (33 loc) · 1.61 KB
/
Copy path.gitattributes
File metadata and controls
35 lines (33 loc) · 1.61 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
# Force LF for the regression suite regardless of the checkout host's
# core.autocrlf: pg_regress compares against LF results from the Unix
# backend, and psql's `\!` shell escapes (external_tool_timeout,
# tool_search_path) break if the command line carries a trailing CR
# (the CR attaches to the last shell token, e.g. a redirect target).
test/sql/*.sql text eol=lf
test/expected/*.out text eol=lf
# Test helper shell scripts must stay LF: bash refuses a CRLF script
# (`set -u\r` -> "invalid option", `cleanup() {\r` -> syntax error).
test/kcmcp/*.sh text eol=lf
# Exclude from git archive (release tarballs)
.github/ export-ignore
branding/ export-ignore
docker/ export-ignore
website/ export-ignore
wasm/ export-ignore
release.sh export-ignore
.dockerignore export-ignore
# --- GitHub language statistics ------------------------------------------
# Keep the repository "Languages" bar representative of the project's own
# source. The paths below still build, ship and diff normally; Linguist just
# omits them from the language counts:
# - regression / test suites are not library code;
# - upgrade scripts and fixtures are migration boilerplate / test data;
# - doc/ is documentation.
# (studio/ app code -- Python, JS, SQL -- is counted; only its tests are not,
# and vendored/minified assets under vendor/ are auto-excluded by Linguist.)
test/** linguist-vendored
studio/tests/** linguist-vendored
sql/upgrades/** linguist-vendored
sql/fixtures/** linguist-vendored
doc/** linguist-documentation
website/** linguist-documentation