pyproject.toml, sampling.py and LICENSE were committed with CRLF while every other file was LF. core.autocrlf=input does not fix this: text=auto deliberately skips paths already stored as CRLF, so the mismatch was permanent and any tool that rewrote those files turned a one-line edit into a whole-file diff. `* text=auto eol=lf` pins LF for every clone regardless of local git config. This commit is `git add --renormalize .` only -- verified with `git diff --cached --ignore-cr-at-eol` that no content changed.
6 lines
294 B
Plaintext
6 lines
294 B
Plaintext
# Normalize all text files to LF in the repo and in the working tree.
|
|
# Without this, core.autocrlf grandfathers in files already committed as
|
|
# CRLF (pyproject.toml, sampling.py), so editors and shell tools silently
|
|
# flip them and every edit shows up as a whole-file diff.
|
|
* text=auto eol=lf
|