It’s a good habit to preview your changes before committing them. Long time ago I wrote a program to help with that on Windows, called scdiff. On mac, if you have TextMate installed, a simple shell script does the job just as well:
#!/bin/sh
if [ -d ".svn" ]
then
svn diff | mate
else
git diff | mate
fi
|