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