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