8051Enthusiast / biodiff

Hex diff viewer using alignment algorithms from biology
MIT License
818 stars 27 forks source link

add git-biodiff helper binary #3

Closed pothos closed 3 years ago

pothos commented 3 years ago

To use biodiff as diff tool in git, the user may either run git difftool --no-prompt --extcmd=biodiff ... or, if a git-biodiff executable exists in the PATH, the user may run git biodiff ... and the git-biodiff executable would run the first command. This handy shortcut mechanism is also provided by icdiff when installing it.

Define an additional Rust binary to be installed with cargo install which is easier than requiring the user to copy some bash script like #!/bin/sh git difftool --no-prompt --extcmd=biodiff "$@" to their PATH.

Fixes https://github.com/8051Enthusiast/biodiff/issues/2