diff --git a/scripts/githooks/pre-commit b/scripts/githooks/pre-commit index cec9697..d06cd5e 100755 --- a/scripts/githooks/pre-commit +++ b/scripts/githooks/pre-commit @@ -5,6 +5,11 @@ if [ $? -eq 0 ]; then exit 0 fi +if [[ -f ".nosync" ]]; then + echo "nosync proto" + exit 0 +fi + git branch|grep -q "* master" if [ $? -eq 0 ]; then svn update ../client_proto/resources/