bug? fetching from empty unnamed remote repos
- From
- David 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.