"GOT", but the "O" is a cute, smiling sun Index | Thread

From:
Mark Jamsek <mark@jamsek.com>
Subject:
Re: cope with deleted branches during tog log refresh
To:
gameoftrees@openbsd.org
Date:
Fri, 18 Nov 2022 00:39:45 +1100

Download raw body.

On 22-11-17 11:33AM, Stefan Sperling wrote:
> If tog is displaying the log for a branch and this branch is deleted
> while tog is running then using Ctrl-l to refresh the log view will
> cause tog to exit with an error.
> 
> With this patch, tog falls back to loading the default branch if its
> current branch can no longer be found.
> 
> ok?

good catch! ok

-- 
Mark Jamsek <fnc.bsdbox.org>
GPG: F2FF 13DE 6A06 C471 CA80  E6E2 2930 DC66 86EE CF68