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

[PATCH] builtin-clone.c: make junk_pid static

From
ARAli Gholami Rudi <ali@rudi.ir>
Date
Apr 1, 2009, 08:04 UTC
Message-ID
<20090401080444.GA2237@lilem.mirepesht>
junk_pid is used only in builtin-clone.c.
Signed-off-by: Ali Gholami Rudi <ali@rudi.ir>
---
 builtin-clone.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-clone.c b/builtin-clone.c
index 0031b5f..736c72c 100644
--- a/builtin-clone.c
+++ b/builtin-clone.c
@@ -270,7 +270,7 @@ static const struct ref *clone_local(const char *src_repo,
 
 static const char *junk_work_tree;
 static const char *junk_git_dir;
-pid_t junk_pid;
+static pid_t junk_pid;
 
 static void remove_junk(void)
 {
Message 1 of 1 in “builtin-clone.c: make junk_pid static”
  1. builtin-clone.c: make junk_pid staticAli Gholami Rudi, Apr 1, 2009

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.