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

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
got fetch fails for freshly cloned repository
To:
gameoftrees@openbsd.org
Date:
Tue, 22 Sep 2020 18:28:45 +0200

Download raw body.

Thread
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

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de