class Overcommit::Hook::PostCheckout::Base
Functionality common to all post-checkout hooks.
Public Instance Methods
Source
# File lib/overcommit/hook/post_checkout/base.rb, line 17 def enabled? return false if file_checkout? && skip_file_checkout? super end
Calls superclass method
Overcommit::Hook::Base#enabled?
Source
# File lib/overcommit/hook/post_checkout/base.rb, line 13 def skip_file_checkout? @config['skip_file_checkout'] != false end