git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] qgit: patchesStillToFind not initialized

From
PRPavel Roskin <proski@gnu.org>
Date
Dec 22, 2005, 01:19 UTC
Message-ID
<1135214376.2253.2.camel@dv>

Git::patchesStillToFind is not initialized on non-StGit repositories. Found by Valgrind.

Signed-off-by: Pavel Roskin <proski@gnu.org>
diff --git a/src/git_startup.cpp b/src/git_startup.cpp
index 35dcaf7..307517f 100644
--- a/src/git_startup.cpp
+++ b/src/git_startup.cpp
@@ -473,6 +473,7 @@ bool Git::init(QString* repoDir, bool as
 	if (!startGetFileProc())
 		qDebug("ERROR: unable to start background git-diff-tree");
 
+	patchesStillToFind = 0;
 	if (isStGIT && !filteredLoading) { // updated by getRefs()
 		POST_MSG(msg1 + "StGIT patches...");
 		if (getStGITPatches()) {
-- 
Regards,
Pavel Roskin
Message 1 of 1 in “qgit: patchesStillToFind not initialized”
  1. qgit: patchesStillToFind not initializedPavel Roskin, Dec 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.