OSDN Git Service

Fixed issue #121: Refresh in "Check for modifications" dialog duplicates added state...
authorFrank Li <lznuaa@gmail.com>
Thu, 23 Jul 2009 14:04:31 +0000 (22:04 +0800)
committerFrank Li <lznuaa@gmail.com>
Thu, 23 Jul 2009 14:04:31 +0000 (22:04 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/Git/TGitPath.cpp

index 065f350..9b92cc6 100644 (file)
@@ -897,6 +897,8 @@ int CTGitPathList::ParserFromLsFile(BYTE_VECTOR &out,bool staged)
        CString one;\r
        CTGitPath path;\r
        CString part;\r
+       this->Clear();\r
+\r
        while(pos>=0 && pos<out.size())\r
        {\r
                one.Empty();\r