Method: Overcommit::HookContext::PreRebase#detached_head?
- Defined in:
- lib/overcommit/hook_context/pre_rebase.rb
#detached_head? ⇒ Boolean
Returns whether we are rebasing a detached HEAD rather than a branch
20 21 22 |
# File 'lib/overcommit/hook_context/pre_rebase.rb', line 20 def detached_head? rebased_branch.empty? end |