rustik-diff 0.3.0

Pure diff viewer and Git diff pager for Rustik.
Documentation

rustik-diff

Pure unified-diff parsing and terminal-buffer viewing for Rustik.

Git

Build or install the rustik-diff binary, then configure Git to use it for diff-like commands:

git config --global pager.diff rustik-diff
git config --global pager.show rustik-diff

Do not set core.pager or pager.log to rustik-diff; git log should keep using your normal pager.

You can also run it directly:

rustik-diff --cached
git diff HEAD~1 | rustik-diff

When run without piped input, rustik-diff forwards its arguments to git diff. When Git runs it as a pager, it reads the patch from standard input and reads interactive keys from the terminal.

License

MIT.