Generate a have list with commit traversal.