#git-diff #diff #git #tui #command-line-tool #cli

bin+lib diff-tool

A tool giving a side by side git diff view

3 unstable releases

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

#2766 in Command line utilities

Download history 8/week @ 2024-02-16 13/week @ 2024-02-23 3/week @ 2024-03-01 7/week @ 2024-03-08 3/week @ 2024-03-15 147/week @ 2024-03-22 183/week @ 2024-03-29 102/week @ 2024-04-05

439 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

~8–19MB
~232K SLoC