[ARVADOS-DEV] updated: 25b75e426d3e3649a608e83b6cd0bbd47a56fc01
Git user
git at public.arvados.org
Mon Jun 15 18:58:22 UTC 2020
Summary of changes:
git/hooks/check-copyright-headers.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
via 25b75e426d3e3649a608e83b6cd0bbd47a56fc01 (commit)
from e5eca30d2119003c025d4e05a9ea792d5ec778a6 (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 25b75e426d3e3649a608e83b6cd0bbd47a56fc01
Author: Ward Vandewege <ward at curii.com>
Date: Mon Jun 15 14:57:55 2020 -0400
Make sure to convert the globs in .licenseignore into regular
expressions.
No issue #
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/git/hooks/check-copyright-headers.rb b/git/hooks/check-copyright-headers.rb
index b235270..6788c5d 100755
--- a/git/hooks/check-copyright-headers.rb
+++ b/git/hooks/check-copyright-headers.rb
@@ -21,7 +21,7 @@ puts "Enforcing copyright headers..."
puts "(#{$refname}) (#{$oldrev[0,6]}) (#{$newrev[0,6]})"
def load_licenseignore
- $licenseignore = `git show #{$newrev}:.licenseignore`.split("\n")
+ $licenseignore = `git show #{$newrev}:.licenseignore`.gsub(/\./,'\\.').gsub(/\*/,'.*').gsub(/\?/,'.').split("\n")
end
def check_file(filename, header, broken)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list