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

bug? fetching from empty unnamed remote repos

From
DTDavid Turner <david.turner@twosigma.com>
Date
Jun 12, 2017, 17:50 UTC
Message-ID
<b3d0d39fe9d443fd8202b8b055d31f86@exmbdft7.ad.twosigma.com>

$ git init empty-1 $ git init empty-2 $ cd empty-1 $ git fetch ../empty-2 fatal: Couldn't find remote ref HEAD fatal: The remote end hung up unexpectedly

But: $ git init empty-1 $ git init empty-2 $ cd empty-1 $ git remote add other ../empty-2 $ git fetch other # this works

I haven't spent a lot of time looking into the code, because we can use the second option.  But it does seem weird.
Next: Junio C Hamano
Message 1 of 2 in “bug? fetching from empty unnamed remote repos”
  1. David TurnerJun 12, 2017
  2. Junio C HamanoJun 12, 2017

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.