Tidy rev walk test
Refactor revwalk.next
Update commit.history