From: Frank Li Date: Thu, 23 Jul 2009 14:04:31 +0000 (+0800) Subject: Fixed issue #121: Refresh in "Check for modifications" dialog duplicates added state... X-Git-Url: http://git.sourceforge.jp/view?p=tortoisegit%2FTortoiseGitJp.git;a=commitdiff_plain;h=a0e606f4dc41881b2fa89ea0493fd5043fe9b1f8;ds=sidebyside Fixed issue #121: Refresh in "Check for modifications" dialog duplicates added state entries when new repository Signed-off-by: Frank Li --- diff --git a/src/Git/TGitPath.cpp b/src/Git/TGitPath.cpp index 065f350..9b92cc6 100644 --- a/src/Git/TGitPath.cpp +++ b/src/Git/TGitPath.cpp @@ -897,6 +897,8 @@ int CTGitPathList::ParserFromLsFile(BYTE_VECTOR &out,bool staged) CString one; CTGitPath path; CString part; + this->Clear(); + while(pos>=0 && pos