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

[PATCH 25/28] makes pack_objects void

From
DRDavid Rientjes <rientjes@google.com>
Date
Aug 14, 2006, 20:38 UTC
Message-ID
<Pine.LNX.4.63.0608141338140.19383@chino.corp.google.com>
Makes pack_objects void.
		David
Signed-off-by: David Rientjes <rientjes@google.com>
---
 send-pack.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/send-pack.c b/send-pack.c
index 10bc8bc..b7cc1a9 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -111,7 +111,7 @@ static void rev_list(int fd, struct ref 
 	exec_rev_list(refs);
 }
 
-static int pack_objects(int fd, struct ref *refs)
+static void pack_objects(int fd, struct ref *refs)
 {
 	pid_t rev_list_pid;
 
@@ -126,7 +126,6 @@ static int pack_objects(int fd, struct r
 	 * We don't wait for the rev-list pipeline in the parent:
 	 * we end up waiting for the other end instead
 	 */
-	return 0;
 }
 
 static void unmark_and_free(struct commit_list *list, unsigned int mark)
-- 
1.4.2.g89bb-dirty
Message 1 of 1 in “makes pack_objects void”
  1. 25/28 makes pack_objects voidDavid Rientjes, Aug 14, 2006

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.