small fix for diff.sh script, so work with git working directories as well