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

Re: [BUG] clone: regression in error messages in master

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 21, 2013, 06:44 UTC
Message-ID
<CALkWK0k8-go979S9sMytBpqs_C9Jm6q6thqwHa4-GX-e5Czx=g@mail.gmail.com>
In-Reply-To
<20130620133422.GA18200@sigill.intra.peff.net>
Jeff King wrote:
> So I'm not sure if there is a better option than reverting 81d340d4 and
> living with the lesser of two evils (no good message when the helper
> dies silently).

I dug around, but I still can't justify that there is no better option. Could you write a commit message for this?

-- 8< --
diff --git a/transport-helper.c b/transport-helper.c
index 06c08a1..db9bd18 100644
--- a/transport-helper.c
+++ b/transport-helper.c
@@ -56,7 +56,7 @@ static int recvline_fh(FILE *helper, struct strbuf
 	if (strbuf_getline(buffer, helper, '\n') == EOF) {
 		if (debug)
 			fprintf(stderr, "Debug: Remote helper quit.\n");
-		die("Reading from helper 'git-remote-%s' failed", name);
+		exit(128);
 	}

 	if (debug)
Previous: Jeff KingNext: Ramkumar Ramachandra
Message 3 of 9 in “[BUG] clone: regression in error messages in master”
  1. Ramkumar RamachandraJun 20, 2013
  2. Jeff KingJun 20, 2013
  3. Ramkumar RamachandraJun 21, 2013
  4. Ramkumar RamachandraJun 21, 2013
  5. Jeff KingJun 21, 2013
  6. Junio C HamanoJun 21, 2013
  7. John SzakmeisterJun 21, 2013
  8. Junio C HamanoJun 21, 2013
  9. John SzakmeisterJun 22, 2013

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.