Exclude binary files from the checks done by the pre-commit hook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Sep 2009 20:33:34 +0000 (20:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Sep 2009 20:33:34 +0000 (20:33 +0000)
commit0126e6d25671efbaca178c3fc5d367f840379c88
treea6949a196df685c324d629ddc4e6552c912db93e
parentb4bde7a74bac66004e392e9f3b24235efbde8d82
Exclude binary files from the checks done by the pre-commit hook.

We shouldn't check that binary files are UTF-8 so determine whether the file
is binary by looking at its svn:mime-type and only do the check for the text
files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
misc/scripts/svn/hooks/pre-commit