From: Christian Weisgerber Subject: Re: tog: worktree vs. -r repo To: gameoftrees@openbsd.org Date: Fri, 18 Dec 2020 00:45:26 +0100 Stefan Sperling: > > $ cd got # work tree associated with got.git > > $ tog log -r ~/src.git # OpenBSD src repository > > tog: reference refs/heads/main not found > > Thanks! This fixes it for me: Hmm. What purpose does got_worktree_open() serve in the -r case? Maybe just skip got_worktree_open() completely, so worktree==NULL? -- Christian "naddy" Weisgerber naddy@mips.inka.de