diff --git a/lib/overcommit/hook/pre_rebase/base.rb b/lib/overcommit/hook/pre_rebase/base.rb index 91500f04..49ac6511 100644 --- a/lib/overcommit/hook/pre_rebase/base.rb +++ b/lib/overcommit/hook/pre_rebase/base.rb @@ -6,6 +6,7 @@ class Base < Overcommit::Hook::Base extend Forwardable def_delegators :@context, - :upstream_branch, :rebased_branch, :fast_forward?, :rebased_commits + :upstream_branch, :rebased_branch, :detached_head?, + :fast_forward?, :rebased_commits end end