difftance
Version, currently 0.3.15 versions
github.com/fabon-f/difftance
A diff tool to show edit distance
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
difftance:
github: fabon-f/difftance
version: ~> 0.3.1Then run:
shards installshard.yml
- Crystal
1.3.0- License
- MIT
- Author
- fabon
- Target
difftancefrom src/cli.cr
Dependencies
This version declares no dependencies.
README
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: https://aur.archlinux.org/packages/difftance-bin/
- git(upstream): https://aur.archlinux.org/packages/difftance-git/
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
git difftool --extcmd=difftance --dir-diff
# You can pass options by using DIFFTANCE_OPTS environment variable
DIFFTANCE_OPTS="--allow-substitution" git difftool --extcmd=difftance
# or
GIT_EXTERNAL_DIFF="difftance" git diff
# options can be passed
GIT_EXTERNAL_DIFF="difftance --allow-substitution" git diff
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.1- Tagged
- Jan 21, 2022
- Commit
da169f2d0216- Crystal
1.3.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/fabon-f/difftance
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 5