Repository navigation
v0.1.13 - adm64(x64)
Release Notes - v0.1.13
Bug Fixes
-
Git: Fix CRLF files falsely reported as modified on Windows — go-git's
Worktree.Status()andAdd()hash worktree files raw and do not implement
core.autocrlf. With autocrlf enabled, files checked out with CRLF never
matched the LF blobs in the index, so tracked files stayed "Modified" forever
and staging stored CRLF blobs that diverged from official git.Changes:
- Add
autocrlf.go: resolve effectivecore.autocrlf(local/global/system),
binary detection via NUL heuristic, CRLF→LF clean filter, and
git-equivalent worktree blob hashing GetStatus: re-verify flagged paths when autocrlf is enabled (not only when
core.filemodeis ignored)Stage/StageAll: rewrite staged index entries to LF blobs
(fixupCleanFilter)- Tests: CRLF-on-disk clean detection, autocrlf-disabled control, LF blob
staging
- Add