]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't exit on errors in the pre-commit svn hook.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Oct 2009 00:33:54 +0000 (00:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Oct 2009 00:33:54 +0000 (00:33 +0000)
Errors in grep, when it fails to find any changed or updated files, also count
so the "set -e" line was causing the hook to reject any commits only deleting
files (without any error message).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/scripts/svn/hooks/pre-commit

index d683f16317bf8081e520d52f6c5c81a808846636..6c75f4d367b864502971e6cfade03cdf56c38875 100755 (executable)
@@ -11,7 +11,6 @@ svnl() {
     $SVNLOOK $cmd "$REPOS" -t "$TXN" $*
 }
 
-set -e
 rc=0
 
 # exclude all third-party files from consideration, we don't want to do any