procCmd+=_T("/path:\"");\r
procCmd+=((CMainFrame*)::AfxGetApp()->GetMainWnd())->GetActiveView()->GetDocument()->GetPathName();\r
procCmd+=_T("\" ");\r
- procCmd+=_T(" /rev:")+this->m_logEntries[indexNext].m_CommitHash;\r
+ procCmd+=_T(" /rev:")+this->m_logEntries.GetGitRevAt(indexNext).m_CommitHash.ToString();\r
\r
procCmd+=_T(" /command:");\r
\r
break;\r
#endif\r
case ID_COMPARE:\r
- procCmd+=CString(_T("diff \rev1:"))+CString(GIT_REV_ZERO)+CString(_T(" \rev2:"))+this->m_logEntries[indexNext].m_CommitHash;\r
+ procCmd+=CString(_T("diff \rev1:"))+CString(GIT_REV_ZERO)+CString(_T(" \rev2:"))+this->m_logEntries.GetGitRevAt(indexNext).m_CommitHash.ToString();\r
break;\r
case ID_COMPAREWITHPREVIOUS:\r
procCmd+=_T("prevdiff");\r