Make duplicate commits fail with ErrAlreadyCommitted.