Record the type of commit operation in the reflog.