# 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
