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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: tog log in hsplit stuck with loading...
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 13 Jul 2022 08:52:34 +0200

Download raw body.

Thread
On Wed, Jul 13, 2022 at 11:37:38AM +1000, Mark Jamsek wrote:
> On 22-07-12 10:43pm, Stefan Sperling wrote:
> > In tog, it is possible to get the log view into a state where the status
> > shown in the top line of this view will always say 'loading...' instead
> > of showing the usual stuff like reference names, even after all commits
> > have already been loaded.
> > 
> > To reproduce this in got.git, do:
> > 
> > $ tog
> > S # switch into hsplit mode
> > G # move to bottom and load all commits
> > Enter # open a diff showing the initial import commit
> > - # shrink the diff view by one line; alternatively use + to grow it
> > 
> > Now the log view says 'loading...' and this never seems to go away.
> > 
> > I don't have a fix for this myself. I would be happy to test a fix.
> > I might eventually find time to look into it myself, but not right now.
> 
> The below diff fixes this issue.

Indeed, it does. Thank you! ok stsp@