require 'forwardable'

module Overcommit::Hook::PostCheckout
  # Functionality common to all post-checkout hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context,
                   :previous_head, :new_head, :branch_checkout?, :file_checkout?,
                   :modified_files
  end
end

require 'forwardable'

module Overcommit::Hook::PostCheckout
  # Functionality common to all post-checkout hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context,
                   :previous_head, :new_head, :branch_checkout?, :file_checkout?
  end
end

Remove modified_files delegator from PostCheckout::Base
Remove modified_files delegator from PostCheckout::Base

This was done in error in 8ee8707, since `Hook::Base` already defines a
delegator for `modified_files`.
