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

git quietly fails on https:// URL, https errors are never reported to user

From
YYuri <yuri@rawbw.com>
Date
Jan 16, 2014, 12:27 UTC
Message-ID
<52D7D017.107@rawbw.com>

On one of my FreeBSD systems I can't clone github through https URL. It only says "Cloning into 'MyProject'...", writes some files, but then deletes everything, without printing anything else at all. Exit code is 128.

Replacing https:// with git:// makes it work fine.

While debugging, I find that remove_junk() deletes all directories from under __cxa_finalize. Before this, exit(128) is called from recvline_fh ("Debug: Remote helper quit.) And this function in turn is called from under refs = transport_get_remote_refs(transport);

I think you need to make sure that any https errors (in this and other locations) are reported to the user, and git never quits on error without saying what the error is.

git-1.8.5.2
Yuri
Next: Jeff King
Message 1 of 9 in “git quietly fails on https:// URL, https errors are never reported to user”
  1. YuriJan 16, 2014
  2. Jeff KingJan 16, 2014
  3. YuriJan 16, 2014
  4. YuriJan 17, 2014
  5. Junio C HamanoJan 17, 2014
  6. Jeff KingJan 17, 2014
  7. Jeff KingJan 17, 2014
  8. YuriJan 17, 2014
  9. Jeff KingJan 17, 2014

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.