lib/overcommit/hook_context/pre_rebase.rb
# Returns the SHA1-sums of the series of commits to be rebased
# in reverse topological order.
Returns the SHA1-sums of the series of commits to be rebased
in reverse topological order.
Returns the SHA1 - sums of the series of commits to be rebased in reverse topological order .
def rebased_commits
      rebased_ref = detached_head? ? 'HEAD' : rebased_branch
      @rebased_commits ||=
        `git rev-list --topo-order --reverse #{upstream_branch}..#{rebased_ref}`.
          split("\n")
    end
def rebased_commits rebased_ref = detached_head? ? 'HEAD' : rebased_branch @rebased_commits ||= ` git rev-list --topo-order --reverse  #{ upstream_branch } .. #{ rebased_ref } ` . split ( "\n" ) end
Returns the SHA1-sums of the series of commits to be rebased
in reverse topological order.
Returns the SHA1 - sums of the series of commits to be rebased in reverse topological order .