"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: got fetch fails for freshly cloned repository
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Tue, 22 Sep 2020 18:49:11 +0200

Download raw body.

Thread
On Tue, Sep 22, 2020 at 06:28:45PM +0200, Christian Weisgerber wrote:
> There is something wrong with the configuration put into got.conf now:
> 
> $ got clone ssh://stsp_gitolite@git.gameoftrees.org/got.git 
> Connecting to stsp_gitolite@git.gameoftrees.org
> server: Enumerating objects: 18339, done.
> server: Counting objects: 100% (18339/18339), done.
> server: Compressing objects: 100% (5146/5146), done.
> server: Total 18339 (delta 13373), reused 18013 (delta 13104)
>    2.9M fetched; indexing 100%; resolving deltas 100%
> Fetched 32ef8025e9e025c8cd4460928af9266aad8ab007.pack
> Created cloned repository 'got.git'
> $ cd got.git
> $ got fetch
> Connecting to "origin" stsp_gitolite@git.gameoftrees.org
> FATAL: invalid repo name: '/got'
> got-fetch-pack: could not find any branches to fetch
> got: could not find any branches to fetch
> $ rm got.conf
> $ got fetch
> Connecting to "origin" stsp_gitolite@git.gameoftrees.org
> Already up-to-date
> 
> More specifically, remote->url ends up with an extra slash:
> ssh://stsp_gitolite@git.gameoftrees.org//got.git
 
Thanks!
Fixed in 521dbd351ce6ce206a649ef1f76e4804722a0f28