difftance v0.3.1

A diff tool to show edit distance

difftance

A diff tool to show edit distance. Works well with Git.

Installation

Homebrew (Mac)

brew tap fabon-f/tap
brew install difftance

AUR (for Arch Linux users)

Binary release(Windows, Linux)

You can download Windows or Linux(x86_64) executable from GitHub release.

Manual installation

# default install directory: /usr/local/bin
make install INSTALL_DIR=install_path

Usage

difftance file1 file2

# Use as a custom diff tool for Git
git difftool --extcmd=difftance --no-prompt
git difftool --extcmd=difftance --no-prompt --dir-diff
# You can pass options by using DIFFTANCE_OPTS environment variable
DIFFTANCE_OPTS="--allow-substitution" git difftool --extcmd=difftance --no-prompt

# or
GIT_EXTERNAL_DIFF="difftance" git --no-pager diff
# options can be passed
GIT_EXTERNAL_DIFF="difftance --allow-substitution" git --no-pager diff
Repository

difftance

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 1 year ago
  • January 11, 2022
License

MIT License

Links
Synced at

Tue, 23 Apr 2024 03:51:54 GMT

Languages