rev-list: free commit_list in ... handler