# Keep this file itself LF so the rules below stay stable on Windows too. /.gitattributes text eol=lf # Hook output fixtures are compared byte-for-byte by # src/__tests__/hooks-golden.test.ts ("兼容锚点", issue #19 §8): the injected # settings must stay identical to the captured baseline so that an existing # installation sees a zero-diff reconcile after a CLI upgrade. # # Git for Windows defaults to core.autocrlf=true, which rewrites these files to # CRLF on checkout, so on Windows the comparison failed for every tool while CI # (ubuntu/macos) stayed green. Pin them to LF so the anchor holds everywhere. src/__tests__/fixtures/hooks/*.json text eol=lf