{"thread":{"id":"2905","subject":"[PATCH] qgit: patchesStillToFind not initialized","startedAt":"2005-12-22T01:19:36Z","lastAt":"2005-12-22T01:19:36Z","messageCount":1,"participants":["Pavel Roskin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"13916","messageId":"1135214376.2253.2.camel@dv","threadId":"2905","inReplyTo":null,"subject":"[PATCH] qgit: patchesStillToFind not initialized","fromName":"Pavel Roskin","fromEmail":"proski@gnu.org","sentAt":"2005-12-22T01:19:36Z","receivedAt":"2005-12-22T01:19:36Z","isPatch":true,"sender":{"key":"proski@gnu.org","avatar":null},"body":"Git::patchesStillToFind is not initialized on non-StGit repositories.\nFound by Valgrind.\n\nSigned-off-by: Pavel Roskin <proski@gnu.org>\n\ndiff --git a/src/git_startup.cpp b/src/git_startup.cpp\nindex 35dcaf7..307517f 100644\n--- a/src/git_startup.cpp\n+++ b/src/git_startup.cpp\n@@ -473,6 +473,7 @@ bool Git::init(QString* repoDir, bool as\n \tif (!startGetFileProc())\n \t\tqDebug(\"ERROR: unable to start background git-diff-tree\");\n \n+\tpatchesStillToFind = 0;\n \tif (isStGIT && !filteredLoading) { // updated by getRefs()\n \t\tPOST_MSG(msg1 + \"StGIT patches...\");\n \t\tif (getStGITPatches()) {\n\n\n-- \nRegards,\nPavel Roskin\n"}]}