3 unstable releases

0.2.1 Apr 4, 2024
0.2.0 Mar 22, 2024
0.1.0 Nov 14, 2023

#2928 in Command line utilities

Download history 38/week @ 2024-07-27 11/week @ 2024-09-21 6/week @ 2024-09-28

151 downloads per month

Apache-2.0

40KB
1K SLoC

Diff Tool

TUI for git diffing in the terminal

Install

cargo install diff-tool

Usage

  • diff-tool <file you want to view diff for>
  • diff-tool -h for other options

Now has a default config when no config is supplied

Todo

  • Colour theme support
  • (Bug) Panicking doesn't clear properly
  • Anchor points on diff changes e.g keymap to jump to the next anchored line
  • Option of diffing full document or diffing anchor points
  • Add scroll bar
  • Need default config / user config options
  • Multi document diffs could be handled a little cleaner
  • Log console should be scrollable to get history
  • Probably should log to a file too?
  • Colour to the log console e.g - INFO would be cyan

Dependencies

~9–21MB
~232K SLoC