the previous commit iterator approach was faulty in cases of merge commits, as it only uses the first parent returned by .Parents().
this also makes use of the --no-merges flag when preparing commits for format-patch.
Signed-off-by: oppiliappan me@oppi.li