mirror of
https://github.com/rclone/rclone.git
synced 2026-10-28 14:28:38 -04:00
Before this change, GitHub showed the bisync golden test files (`cmd/bisync/testdata/*/golden/`) in full in pull request diffs, where a new test scenario can add hundreds of lines of expected output. After this change, they are marked `linguist-generated`, like `MANUAL.*` and `rclone.1`, so GitHub collapses them in diffs and leaves them out of the language statistics. They are still one click away in a diff.
16 lines
460 B
Plaintext
16 lines
460 B
Plaintext
# Go writes go.mod and go.sum with lf even on windows
|
|
go.mod text eol=lf
|
|
go.sum text eol=lf
|
|
|
|
# Embedded templates must render the same on every OS
|
|
lib/http/templates/** text eol=lf
|
|
|
|
# Ignore generated files in GitHub language statistics and diffs
|
|
/MANUAL.* linguist-generated=true
|
|
/rclone.1 linguist-generated=true
|
|
cmd/bisync/testdata/*/golden/** linguist-generated=true
|
|
|
|
# Don't fiddle with the line endings of test data
|
|
**/testdata/** -text
|
|
**/test/** -text
|