lib/overcommit/hook_context/post_rewrite.rb
# Returns the list of commits rewritten by the action that triggered this
# hook run.
#
# @return [Array<RewrittenCommit>]
Returns the list of commits rewritten by the action that triggered this
hook run.
Returns the list of commits rewritten by the action that triggered this hook run .
def rewritten_commits
      @rewritten_commits ||= input_lines.map do |line|
        RewrittenCommit.new(*line.split(' '))
      end
    end
def rewritten_commits @rewritten_commits ||= input_lines . map do | line | RewrittenCommit . new ( * line . split ( ' ' ) ) end end
Returns the list of commits rewritten by the action that triggered this
hook run.
Returns the list of commits rewritten by the action that triggered this hook run .
None
Array<RewrittenCommit>