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

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: tog: nG key map like vi(1) and less(1)
To:
Mark Jamsek <mark@jamsek.com>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 17 Jul 2022 22:24:36 +0200

Download raw body.

Thread
Mark Jamsek:

> > The thing I'm not too sure about, we center line n in the middle of the
> > page for the blame and diff views. As Stefan suggested, this makes the
> > most sense as it provides more context. However, the line index in the
> > diff header is in the form "i/N" such that i = first_displayed_line and
> > N = nlines in the file.  [...] Whether this is a problem or not,
> > I'm not sure.

I'm not sure either. :-)  It feels odd.

> Please disregard previous. Revised diff below (no functional changes;
> style and tiny optimisation).
> 
> diff refs/heads/main refs/heads/dev/gline
> commit - 86fbc0d4baa2c117d3bf5c65262d1857de548062
> commit + 6748ca824b255354423f4bd36c4c60277094dfc4

That introduces a problem:

Start "tog log" in got.git.  Use 'G' to move to the end.  That is
very, very slow now.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de