OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d4d023
)
give up save cache when m_GitDir is empty
author
Frank Li
<lznuaa@gmail.com>
Mon, 18 Jan 2010 05:59:12 +0000
(13:59 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Mon, 18 Jan 2010 05:59:12 +0000
(13:59 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/GitLogCache.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/GitLogCache.cpp
b/src/TortoiseProc/GitLogCache.cpp
index
7028d06
..
0ba88b9
100644
(file)
--- a/
src/TortoiseProc/GitLogCache.cpp
+++ b/
src/TortoiseProc/GitLogCache.cpp
@@
-231,6
+231,9
@@
int CLogCache::SaveCache()
if( this->m_HashMap.size() == 0 )
\r
return 0;
\r
\r
+ if( this->m_GitDir.IsEmpty())
\r
+ return 0;
\r
+
\r
bool bIsRebuild=false;
\r
if(this->m_DataFile.m_hFile != CFile::hFileNull)
\r
m_DataFile.Close();
\r