Closed hason closed 5 years ago
It should already be possible to do this by configuring git-difftool
:
git config --global difftool.pandiff.cmd 'pandiff "$LOCAL" "$REMOTE"'
Then you can do things like:
git difftool -t pandiff de4460f 3742cc2 README.md
Does that work?
Could you put this in the README.md? Also, it'd be handy to have a suggestion of how to avoid the warning prompt when using git so you can redirect the output.
Viewing (1/1): '1-08-forsyth.md'
Launch 'pandiff' [Y/n]? Y
It should already be there: https://github.com/davidar/pandiff#git-integration
I've updated the instructions to avoid the prompt.
Thanks!
I would be nice to add support for files in git repository: