X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f14e42cec5fe7afa44fdd695b24a7d8a817af2f1..ceed155e8a53c121519e7725be7d1abf642dd56e:/misc/scripts/svn/hooks/pre-commit diff --git a/misc/scripts/svn/hooks/pre-commit b/misc/scripts/svn/hooks/pre-commit index 2910940abf..9b2bc53009 100755 --- a/misc/scripts/svn/hooks/pre-commit +++ b/misc/scripts/svn/hooks/pre-commit @@ -15,11 +15,14 @@ rc=0 # exclude all third-party files from consideration, we don't want to do any # checks for them +# +# also exclude message catalog files as they may be not in UTF-8 all_changed_files=`svnl changed | \ grep "^[AU]" | \ sed 's/^....//' | \ + egrep -v "locale/.*\.po$" | \ egrep -v "src/(tiff|regex|jpeg|stc/scintilla)" | \ - egrep -v "_wrap.cpp"` + egrep -v "_wrap.cpp"` # analyze the changed files to find all non-binary and all source files for f in $all_changed_files; do