OSDN Git Service

Fixed issue #276: Crash on seeing diff with previous version
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / PrevDiffCommand.cpp
index 6927c48..3eb7ad5 100644 (file)
@@ -49,7 +49,9 @@ bool PrevDiffCommand::Execute()
                        CString logout;\r
                \r
                        CLogDataVector revs;\r
-       \r
+                       CLogCache cache;\r
+                       revs.m_pLogCache=&cache;\r
+                       \r
                        revs.ParserShortLog(&cmdLinePath,hash,2);\r
                        if( revs.size() == 0)\r
                        {\r