[Cmake-commits] CMake branch, hooks, updated. 8edae204704e83968f31ed4f45c579adf646dc8b

Brad King brad.king at kitware.com
Tue Aug 31 15:23:48 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, hooks has been updated
       via  8edae204704e83968f31ed4f45c579adf646dc8b (commit)
      from  cb038d0b57fa6d131089066b71a30ad284df3c3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8edae204704e83968f31ed4f45c579adf646dc8b
commit 8edae204704e83968f31ed4f45c579adf646dc8b
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Aug 31 15:21:15 2010 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Aug 31 15:21:15 2010 -0400

    commit-msg: Fix silent failure when no remote looks like Gerrit

diff --git a/commit-msg b/commit-msg
index 37fa32b..60ddeee 100755
--- a/commit-msg
+++ b/commit-msg
@@ -86,7 +86,7 @@ rm -f "$commit_msg" || exit 1
 
 gerrit_advice() {
 	gerrits=$(git config -l |grep '^remote\.[^=]\+url=.*review.*$')
-	test "x$gerrits" != "x" || return
+	test "x$gerrits" != "x" || return 0
 
 	echo 'Some config values look like Gerrit Code Review URLs:'
 	echo ''

-----------------------------------------------------------------------

Summary of changes:
 commit-msg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list