while( pos>=0 )\r
{\r
one=data.Tokenize(_T("\n"),pos);\r
+ \r
+ if(one.GetLength()>1 && one[0] == _T('^'))\r
+ one=one.Mid(1);\r
+\r
if(one.IsEmpty())\r
continue;\r
m_CommitHash.push_back(one.Left(40));\r
if(id>=0 && id <(int)GetLogData()->size())\r
{\r
m_ID.push_back(pRevs->size()-id);\r
- m_Authors.push_back(pRevs->at(id).m_AuthorName);\r
+ m_Authors.push_back(pRevs->GetGitRevAt(id).m_AuthorName);\r
}else\r
{\r
m_ID.push_back(id);\r
LVIS_SELECTED);\r
\r
GitRev *pRev;\r
- pRev=&this->GetLogData()->at(this->GetLogList()->GetItemCount()-m_ID[line]);\r
+ pRev=&this->GetLogData()->GetGitRevAt(this->GetLogList()->GetItemCount()-m_ID[line]);\r
this->GetDocument()->GetMainFrame()->m_wndProperties.UpdateProperties(pRev);\r
}else\r
{\r
int i;\r
for(i=0;i<m_CommitHash.size();i++)\r
{\r
- if( pRev->m_CommitHash == m_CommitHash[i] )\r
+ if( pRev->m_CommitHash.ToString() == m_CommitHash[i] )\r
break;\r
}\r
this->GotoLine(i);\r
\r
}else\r
{\r
- pRev=&this->GetLogData()->at(this->GetLogList()->GetItemCount()-m_ID[line]);\r
+ pRev=&this->GetLogData()->GetGitRevAt(this->GetLogList()->GetItemCount()-m_ID[line]);\r
}\r
\r
this->ClientToScreen(&point);\r