Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 22:26
· 72 commits to master since this release

Added

  • CLICOLOR_FORCE (any non-empty value) forces coloured output in the default
    --color auto mode even when stdout is not a terminal (e.g. a pipe).
    NO_COLOR still takes precedence when both are set, and an explicit
    --color always|never overrides both.

Changed

  • Result-diff validation now rejects a change-free (all-context) hunk with a
    dedicated NoChangeHunk error. Such a hunk balances the header counts but
    git apply rejects it; it is unreachable from a real git diff and only
    possible from a synthetic patch.
  • The parser no longer appends body lines past the counts declared in a hunk
    header: once a side's declared count is exhausted, a further line of that kind
    ends the hunk instead of being absorbed into it. Well-formed git diffs are
    unaffected.