Sha256: 1165c518ff56720607f33c67773f6f2497ce49132189158da03c4048a3d95f6e
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
#!/usr/bin/env ruby # parameters: revision1, revision 2, branch THIS_FILE = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__ $:.unshift File.join(File.dirname(THIS_FILE), "../lib") require "commit_hook" if ARGV.length == 0 CommitHook.show_error("You have to add a path to the config file for git-commit-notifier") elsif ARGV.length == 1 param = STDIN.gets.strip.split CommitHook.run ARGV[0], param[0], param[1], param[2] else CommitHook.run ARGV[0], ARGV[1], ARGV[2] end
Version data entries
8 entries across 8 versions & 1 rubygems