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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog wt diff: don't fatal error if worktree is busy
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 8 Dec 2024 09:07:15 +0100

Download raw body.

Thread
On Sun, Dec 08, 2024 at 12:10:35PM +1100, Mark Jamsek wrote:
> Rather than fatal error, report the "worktree already locked" message to
> the diff view if a worktree diff has been selected or refreshed when the
> work tree is busy. To reproduce and see the improved behaviour, perform
> the following in a dirty work tree invoking tog with and without the
> below diff applied:
> 
> $ tog
> ^z
> $ got commit
> ^z
> $ fg %1
> # press `return' on the work tree entry

ok, nice catch