# File lib/grit/commit.rb, line 240
    def to_patch
      @repo.git.format_patch({'1' => true, :stdout => true}, to_s)
    end