From 53b508e9561474a1afeb43883e7efd6ccd63efed Mon Sep 17 00:00:00 2001 From: "nathan r. hruby" Date: Thu, 26 Mar 2015 10:56:15 -0700 Subject: [PATCH] fixup review notes --- Library/Formula/git-hooks.rb | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Library/Formula/git-hooks.rb b/Library/Formula/git-hooks.rb index 8d640ebf8824..959f652ef944 100644 --- a/Library/Formula/git-hooks.rb +++ b/Library/Formula/git-hooks.rb @@ -1,24 +1,11 @@ class GitHooks < Formula homepage "https://github.com/icefox/git-hooks" url "https://github.com/icefox/git-hooks/archive/1.00.0.tar.gz" - version "1.00.0" sha1 "60b6048b8442237914f6174113facb922a9a3cdd" def install bin.install "git-hooks" - end - - def caveats - <<-EOS.undent - Run 'git hooks --install' Inside a git project to change that projects - git hooks to use git-hooks hooks. 'git hooks --uninstall' can be run at - any time to go back to the old hooks that were installed before - (typically the default which does nothing). - - Run 'git hooks --installglobal' to force any new git repository or any - git repository you clone to have a reminders to install git hooks. (It - can't be on by default for security reasons of course) - EOS + (etc/"git-hooks").install "contrib" end test do