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

From:
Martin Pieuchot <mpi@openbsd.org>
Subject:
tog log & got-read-pack on the fly
To:
gameoftrees@openbsd.org
Date:
Thu, 10 Oct 2019 10:01:35 +0200

Download raw body.

Thread
I'm using "tog log -c master /sys" then search for 'mpi' to check what I
did during the 6.6 release cycle.

Due to the fact that 'tog log' do not prefetch more commits than it can
display, launching it is very fast.  However every time it continues to
search "past" the already unpacked commits, it waits for got-read-pack.

This makes searching in big repositories, like openbsd-src, frustrating.
One has to wait more than a couple of seconds every time 'n' is pressed.

Without going the tig(1) way of loading everything upon startup, which
makes it slow on big repository, would it be possible to improve the
search experiences?

Another related suggestion, would it be possible to invert the contrast
of the searched terms, like it is done in less(1)?

Thanks,
Martin