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:
13a01bc
)
Fixed issue #104: Doubleclicking changed submodule dir in Check For Modifications...
author
Frank Li
<lznuaa@gmail.com>
Sun, 5 Jul 2009 15:55:16 +0000
(23:55 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Sun, 5 Jul 2009 15:55:16 +0000
(23:55 +0800)
Fix log dialog double click submodule problem
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/GitDiff.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/GitDiff.cpp
b/src/TortoiseProc/GitDiff.cpp
index
e4b1055
..
f30b89e
100644
(file)
--- a/
src/TortoiseProc/GitDiff.cpp
+++ b/
src/TortoiseProc/GitDiff.cpp
@@
-76,13
+76,14
@@
int CGitDiff::SubmoduleDiff(CTGitPath * pPath,CTGitPath * pPath2, git_revnum_t &
{
\r
CString oldhash;
\r
CString newhash;
\r
- oldhash = GIT_REV_ZERO;
\r
- newhash = GIT_REV_ZERO;
\r
CString cmd,err;
\r
CString workingcopy;
\r
\r
if( rev2 == GIT_REV_ZERO || rev1 == GIT_REV_ZERO )
\r
{
\r
+ oldhash = GIT_REV_ZERO;
\r
+ newhash = GIT_REV_ZERO;
\r
+
\r
CString rev;
\r
if( rev2 != GIT_REV_ZERO )
\r
rev = rev2;
\r