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

[PATCH 03/28] makes checkout_all void

From
DRDavid Rientjes <rientjes@google.com>
Date
Aug 14, 2006, 20:20 UTC
Message-ID
<Pine.LNX.4.63.0608141319180.19383@chino.corp.google.com>
Makes checkout_all void.
		David
Signed-off-by: David Rientjes <rientjes@google.com>
---
 builtin-checkout-index.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/builtin-checkout-index.c b/builtin-checkout-index.c
index 8d0dbad..6b55f93 100644
--- a/builtin-checkout-index.c
+++ b/builtin-checkout-index.c
@@ -122,7 +122,7 @@ static int checkout_file(const char *nam
 	return -1;
 }
 
-static int checkout_all(const char *prefix, int prefix_length)
+static void checkout_all(const char *prefix, int prefix_length)
 {
 	int i, errs = 0;
 	struct cache_entry* last_ce = NULL;
@@ -153,7 +153,6 @@ static int checkout_all(const char *pref
 		 * exit with the same code as die().
 		 */
 		exit(128);
-	return 0;
 }
 
 static const char checkout_cache_usage[] =
-- 
1.4.2.g89bb-dirty
Message 1 of 1 in “makes checkout_all void”
  1. 03/28 makes checkout_all 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.