From: Emilia Smólska Subject: Issues when using got with Sourcehut To: gameoftrees@openbsd.org Cc: drew@ddevault.org Date: Sun, 29 Nov 2026 17:37:11 +0100 Hello, I've ran into some issues using got in combination with the git hosting service sourcehut (git.sr.ht), especially when combined with a nonstandard branch name: pushing a repository using got results in a weird "schrödinger's repo" appearing on sourcehut that doesn't show anything in the web ui, can't be cloned without `got cl` without an explicit `-b mistress` (the name of the branch i used in this case), but can be cloned with `git clone` just fine. Commands I used to create an example repo (https://git.sr.ht/~emilia/meow) were: $ gotadmin init -A sha1 -b mistress meow.git $ mkdir meow; echo meow > meow/meow $ got im -b mistress -r meow.git -m meow meow/ $ cat >meow.git/got.conf <<'EOF' remote origin { server git@git.sr.ht protocol ssh repository "~emilia/meow" branch { mistress } } EOF $ got se -r meow.git I have previously emailed the sourcehut admin about these issues too, but they said the cause probably lied on got's side. CCing drew, hopefully got folks and sourcehut staff can collaborate to fix this :)