例如我看到代码
<<<<<<< HEAD
public function login()
{
if($this->_identity===null) {
$this->_identity=new UserIdentity($this->username,$this->password);
$this->_identity->authenticate();
}
if($this->_identity->errorCode===UserIdentity::ERROR_NONE) {
=======
/**
* Logs in the user using the given username and password in the model.
* @return boolean whether login is successful
*/
public function login()
{
if($this->_identity===null)
{
$this->_identity=new UserIdentity($this->username,$this->password);
$this->_identity->authenticate();
}
if($this->_identity->errorCode===UserIdentity::ERROR_NONE)
{
>>>>>>> 6f9cd42a2926dccc612900c31769a977e71ed261
$duration=$this->rememberMe ? 3600*24*30 : 0; // 30 days
Yii::app()->user->login($this->_identity,$duration);
return true;
}
<<<<<<< HEAD
else return false;
=======
else
return false;
>>>>>>> 6f9cd42a2926dccc612900c31769a977e71ed261
}
}
我不知道这意味着什么。谁能解释一下吗?
这表明不同版本之间存在冲突。
如果您确实在已克隆的存储库中看到了这一点,那么有人就搞砸了,因为他们在解决合并冲突时提交了一些本应编辑的内容(以选择正确的代码位之一)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)