OSDN Git Service

Add show one file log at dialog box.
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / GitLogListBase.cpp
index ed13ed8..8d1c162 100644 (file)
@@ -1340,7 +1340,14 @@ int CGitLogListBase::FillGitShortLog()
     else\r
         path=&this->m_Path;\r
 \r
-       this->m_logEntries.ParserShortLog(path,-1);\r
+       CString hash;\r
+       int mask;\r
+       mask = CGit::LOG_INFO_ONLY_HASH | CGit::LOG_INFO_BOUNDARY;\r
+       if(this->m_bAllBranch)\r
+               mask |= CGit::LOG_INFO_ALL_BRANCH;\r
+\r
+       this->m_logEntries.ParserShortLog(path,hash,-1,mask);\r
+       \r
 \r
        //this->m_logEntries.ParserFromLog();\r
        SetItemCountEx(this->m_logEntries.size());\r