[ARVADOS-DEV] updated: 40a2b8d1130df25ea9ca05af162356a9ef67d85f
Git user
git at public.curoverse.com
Mon Jan 8 21:53:18 EST 2018
Summary of changes:
git/hooks/enforce-dco-signoff.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 40a2b8d1130df25ea9ca05af162356a9ef67d85f (commit)
from 3e2d6818293a1269946423dc5e563ca1625ef84c (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 40a2b8d1130df25ea9ca05af162356a9ef67d85f
Author: Ward Vandewege <ward at curoverse.com>
Date: Mon Jan 8 21:52:45 2018 -0500
When a branch is being deleted, do not enforce the DCO signoff in all
the commits that are being deleted.
refs #11020
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>
diff --git a/git/hooks/enforce-dco-signoff.rb b/git/hooks/enforce-dco-signoff.rb
index c6245d2..ab93401 100755
--- a/git/hooks/enforce-dco-signoff.rb
+++ b/git/hooks/enforce-dco-signoff.rb
@@ -22,8 +22,8 @@ $arvados_DCO = /Arvados-DCO-1.1-Signed-off-by:/
# enforced DCO signoff in commit message
def check_message_format
if ($newrev[0,6] == '000000')
- # A branch is being deleted
- all_revs = [$oldrev]
+ # A branch is being deleted. Do not check old commits for DCO signoff!
+ all_revs = []
elsif ($oldrev[0,6] == '000000')
if $refname != 'refs/heads/master'
# A new branch was pushed. Check all new commits in this branch.
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list