From e22524ca9d5b3b9d0d6022c03abce39c889f5c42 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Fri, 16 Nov 2012 12:17:41 +0100 Subject: [PATCH] Fixed typo Signed-off-by: Sven Strickroth --- src/TortoiseProc/GitDiff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TortoiseProc/GitDiff.cpp b/src/TortoiseProc/GitDiff.cpp index 61de93d1b..b2d37c4a9 100644 --- a/src/TortoiseProc/GitDiff.cpp +++ b/src/TortoiseProc/GitDiff.cpp @@ -246,7 +246,7 @@ int CGitDiff::SubmoduleDiff(CTGitPath * pPath,CTGitPath * /*pPath2*/, git_revnum else oldsub = cmderr; } - if(newsub != GIT_REV_ZERO) + if (newhash != GIT_REV_ZERO) { CString cmdout, cmderr; cmd.Format(_T("git log -n1 --pretty=format:\"%%ct %%s\" %s"), newhash); -- 2.11.4.GIT