Skip to content

Commit bd6b192

Browse files
committed
fix: normalize docs/funcs source to LF to match its embedded copy
The previous commit forced the embedded function docs to LF, but their source of truth, docs/funcs/, still had no end-of-line rule - so a Windows (autocrlf) checkout left it CRLF. TestFuncDocsSourceMatchesEmbedded then compared the CRLF source against the now-LF embedded copy and failed. Mark docs/funcs/ `text eol=lf` too, so both sides of that byte-for-byte mirror check out LF everywhere. Blobs are already LF; no content change.
1 parent 2a83f61 commit bd6b192

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ rts/embedded/functions.txt linguist-generated=true text eol=lf
1212
rts/signatures_gen.go linguist-generated=true
1313
docs-web/docs/reference/functions.md linguist-generated=true
1414
docs-web/docs/reference/errors.md linguist-generated=true
15+
16+
# Per-function doc source of truth, mirrored byte-for-byte into the embedded
17+
# copy (rts/embedded_funcs/) with a test asserting they match - so the source
18+
# must share the embedded copy's LF endings on every platform.
19+
docs/funcs/** text eol=lf

0 commit comments

Comments
 (0)