if(m_bShowWC)\r
this->m_logEntries.insert(m_logEntries.begin(),this->m_wcRev);\r
\r
- this->m_logEntries.FetchShortLog(path,m_StartRef,-1,mask);\r
+ this->m_logEntries.FetchShortLog(path,m_StartRef,-1,mask,m_bShowWC?1:0);\r
\r
//this->m_logEntries.ParserFromLog();\r
if(IsInWorkingThread())\r
return 0;\r
\r
}\r
-int CLogDataVector::FetchShortLog(CTGitPath *path ,CString &hash,int count ,int mask )\r
+int CLogDataVector::FetchShortLog(CTGitPath *path ,CString &hash,int count ,int mask, int ShowWC )\r
{\r
//BYTE_VECTOR log;\r
m_RawlogData.clear();\r
//next=log.find(0,next);\r
}\r
\r
- resize(m_RawLogStart.size());\r
+ resize(m_RawLogStart.size() + ShowWC);\r
\r
t2=GetTickCount();\r
\r
int ParserFromLog(CTGitPath *path =NULL,int count = -1,int infomask=CGit::LOG_INFO_STAT|CGit::LOG_INFO_FILESTATE|CGit::LOG_INFO_SHOW_MERGEDFILE,\r
CString *from=NULL,CString *to=NULL);\r
\r
- int FetchShortLog(CTGitPath *path , CString &hash,int count=-1 ,int mask=CGit::LOG_INFO_ONLY_HASH );\r
+ int FetchShortLog(CTGitPath *path , CString &hash,int count=-1 ,int mask=CGit::LOG_INFO_ONLY_HASH, int showWC=0 );\r
int ParserShortLog(CTGitPath *path ,CString &hash,int count=-1 ,int mask=CGit::LOG_INFO_ONLY_HASH );\r
\r
int ParserFromRefLog(CString ref);\r