Sha256: 55ade186818b94fc4d6ff892a8b320158a1cbae688888568399c98ef8cc06ee7

Contents?: true

Size: 333 Bytes

Versions: 30

Compression:

Stored size: 333 Bytes

Contents

require 'forwardable'

module Overcommit::Hook::PreRebase
  # Functionality common to all pre-rebase hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context,
                   :upstream_branch, :rebased_branch, :detached_head?,
                   :fast_forward?, :rebased_commits
  end
end

Version data entries

30 entries across 28 versions & 2 rubygems

Version Path
overcommit-0.33.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.32.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.32.0.rc1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.31.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.30.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.29.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.29.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.28.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.27.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.26.0 lib/overcommit/hook/pre_rebase/base.rb