Skip to content

v0.1.13 - adm64(x64)

Choose a tag to compare

@pirogom pirogom released this 01 Sep 04:25
· 4 commits to main since this release

Release Notes - v0.1.13

Bug Fixes

  • Git: Fix CRLF files falsely reported as modified on Windows — go-git's
    Worktree.Status() and Add() 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 effective core.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.filemode is ignored)
    • Stage/StageAll: rewrite staged index entries to LF blobs
      (fixupCleanFilter)
    • Tests: CRLF-on-disk clean detection, autocrlf-disabled control, LF blob
      staging