rm "${newfile}"
rm "${nf}"
if [ $r != 0 ] ; then
-echo "Code style error in $file, please fix before commiting."
+echo "================================================================================================="
+echo " Code style error in: $file "
+echo " "
+echo " Please fix before committing. Don't forget to run git add before trying to commit again. "
+echo " If the whole file is to be committed, this should work (run from the top-level directory): "
+echo " "
+echo " gst-indent $file; git add $file; git commit"
+echo " "
+echo "================================================================================================="
exit 1
fi
done