[ARVADOS-DEV] updated: e1f0d735e521b0487b2cd8bb179054932ca58201

git at public.curoverse.com git at public.curoverse.com
Wed May 28 12:01:29 EDT 2014


Summary of changes:
 git/hooks/coding-standards.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

       via  e1f0d735e521b0487b2cd8bb179054932ca58201 (commit)
      from  fcfdab3ca5bc40939aed45fcabf436ff3c3a67bb (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.


commit e1f0d735e521b0487b2cd8bb179054932ca58201
Author: Ward Vandewege <ward at jhvc.com>
Date:   Wed May 28 12:01:16 2014 -0400

    Only check master, because bad things happen otherwise.

diff --git a/git/hooks/coding-standards.sh b/git/hooks/coding-standards.sh
index 610abe8..de8c49f 100755
--- a/git/hooks/coding-standards.sh
+++ b/git/hooks/coding-standards.sh
@@ -13,9 +13,8 @@ $oldrev  = ARGV[1]
 $newrev  = ARGV[2]
 $user    = ENV['USER']
 
-# Only enforce policy on the master branch -- on second thought, do it on all
-# branches so that people don't get surprised at merge-to-master time.  
-#exit 0 if $refname != 'refs/heads/master'
+# Only enforce policy on the master branch
+exit 0 if $refname != 'refs/heads/master'
 
 puts "Enforcing Policies... \n(#{$refname}) (#{$oldrev[0,6]}) (#{$newrev[0,6]})"
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list