projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfdab3
)
Only check master, because bad things happen otherwise.
author
Ward Vandewege <ward@jhvc.com>
Wed, 28 May 2014 16:01:16 +0000
(12:01 -0400)
committer
Ward Vandewege <ward@jhvc.com>
Wed, 28 May 2014 16:01:16 +0000
(12:01 -0400)
git/hooks/coding-standards.sh
patch
|
blob
|
history
diff --git
a/git/hooks/coding-standards.sh
b/git/hooks/coding-standards.sh
index 610abe82a40bd91f61a5ce7a32277b8a44f21694..de8c49f599c11724359d89e0066709be5f3403aa 100755
(executable)
--- 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]})"