Remove merges from the log.