log_tree_diff: die when we fail to parse a commit