OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed issue #276: Crash on seeing diff with previous version
[tortoisegit/TortoiseGitJp.git]
/
src
/
TortoiseProc
/
Commands
/
PrevDiffCommand.cpp
diff --git
a/src/TortoiseProc/Commands/PrevDiffCommand.cpp
b/src/TortoiseProc/Commands/PrevDiffCommand.cpp
index
6927c48
..
3eb7ad5
100644
(file)
--- a/
src/TortoiseProc/Commands/PrevDiffCommand.cpp
+++ b/
src/TortoiseProc/Commands/PrevDiffCommand.cpp
@@
-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