Ensure tree is walked when ordering commits

In order for any ordering of merge-bases to be performed, rev-list needs
to traverse the tree in order to ensure it returns the correct
topological order.

Change-Id: I027e3667d2ae1dba3ec51a2d9e116cb453b47729