Skip to content

Commit 51c8042

Browse files
author
Shane da Silva
committedFeb 21, 2014
Don't attempt to install overcommit on hook run
There are multiple edge cases where this doesn't work, and I don't want to figure them out right now. Also, the installer doesn't currently install files that already exist, so this will not do what you expect. Remove it for now. Change-Id: Ic58d053f3524de3b57825425891ec1da30ce7d3e Reviewed-on: http://gerrit.causes.com/35689 Reviewed-by: Shane da Silva <shane@causes.com> Tested-by: Shane da Silva <shane@causes.com>
1 parent 89b84b7 commit 51c8042

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎template-dir/hooks/overcommit-hook

-4
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ if Gem::Version.new(Overcommit::VERSION) < Gem::Version.new('0.6.0')
4949
end
5050

5151
begin
52-
# Ensure this script and all symlinks are always up-to-date (it's cheap to do)
53-
Overcommit::Installer.new(Overcommit::Logger.silent).
54-
run(Overcommit::Utils.repo_root, :action => :install)
55-
5652
config = Overcommit::ConfigurationLoader.load_repo_config
5753

5854
context = Overcommit::HookContext.create(hook_type, config, ARGV, STDIN)

0 commit comments

Comments
 (0)