Method: Overcommit::HookContext::PreRebase#fast_forward?

Defined in:
lib/overcommit/hook_context/pre_rebase.rb

#fast_forward?Boolean

Returns whether this rebase is a fast-forward

Returns:

  • (Boolean)


25
26
27
# File 'lib/overcommit/hook_context/pre_rebase.rb', line 25

def fast_forward?
  rebased_commits.empty?
end