Display output for each commit as we go along.

Previously we were processing all the commits before outputting anything.