Skip to content

v0.0.4

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Aug 15:05
· 2 commits to main since this release

drift is a git diff viewer that acts like a pager, with syntax highlighting and live watching of index/branch changes.

Highlights

📤 Pass-through for non-diff input

Pipe something that isn't a diff — git diff --stat, git status, plain prose — and drift no longer shows an empty screen. It detects that the input isn't a patch and passes the original bytes straight through to your terminal, so git … | drift is safe as a drop-in even when the output isn't a diff. Detection is byte-exact and handles non-UTF-8 and localized git output without dropping or mangling anything.

🐛 Fix: mascot flash on streaming diffs

The idle mascot no longer flashes for a frame when a piped diff starts streaming — a stream that's still loading is now treated as busy, not idle.

Other changes

  • Hardened diff detection: patch headers are confirmed before switching to the viewer (no false positives on prose containing diff --git), and buffering is bounded while classifying input
  • Added CJK/accented and localized-output test coverage
  • Release pipeline fixes: trust the Gemfury tap, probe AUR with the real git operation, and build from a clean tree

Full Changelog: v0.0.3...v0.0.4