I've configured my git to use Meld as the diff tool:
git config --global diff.external /home/myname/diff.py
When I'm trying to save a diff to a file by: git diff > file.diff
Meld is opened and the diff is not saved.
How can I save the diff to a file without opening Meld?