Sha256: fbb8cc6f0378a940da1e9d8f4547c752c918b64d85bed17721106c6d2c579577

Contents?: true

Size: 164 Bytes

Versions: 4

Compression:

Stored size: 164 Bytes

Contents

#!/usr/bin/env ruby

# Disallow 'refs #' in right_link commits
if IO.read(ARGV[0]) =~ /^(refs #|Refs #)\d+ /
  puts 'Private ticket number reference.'
  exit 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
right_link-5.9.5 lib/git_hooks/commit-msg.rb
right_link-5.9.2 lib/git_hooks/commit-msg.rb
right_link-5.9.1 lib/git_hooks/commit-msg.rb
right_link-5.9.0 lib/git_hooks/commit-msg.rb