Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2021 01:14:39 -0800
From:      Mark Millard via freebsd-git <freebsd-git@freebsd.org>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-git@freebsd.org
Subject:   Re: cgit, ages and chronological order
Message-ID:  <DA8BB831-C7B9-4510-9BFE-72C2F971CCBD@yahoo.com>
In-Reply-To: <9766b3e1-fb5d-1993-46e2-057e2567315a@gmail.com>
References:  <9766b3e1-fb5d-1993-46e2-057e2567315a@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2021-Nov-9, at 22:03, Graham Perrin <grahamperrin@gmail.com> wrote:

> <https://cgit.freebsd.org/src/log/?qt=3Dgrep&q=3Dterminfo&h=3Dmain>, =
for example, is it normal for results to _not_ be in chronological =
order?
>=20
> (Has it always been so, have I never noticed?)
>=20

If I gather correctly, a distinction is being made here between searches
that result in tracking parent-commit order, with parents shown =
(possibly
only the "first-parents" path), vs. searches that need not display =
various
parent-commits (even omitting some first-parent ones).

Ones that follow parent-commit order (those involving one of):

?qt=3Dgrep?q=3D
?qt=3Dauthor?q=3D
?qt=3Dcommiter?q=3D
?qt=3Drange?q=3D
?qt=3Drange?q=3DSOMETEXT (that is a correct range specification)

(Those empty ?q=3D lead to being like https://cgit.freebsd.org/src/log/ =
lists.)

Ones that do not follow parent-commit order (because of
what is omitted): Those with,

?qt=3Dgrep?q=3DSOMETEXT
?qt=3Dauthor?q=3DSOMETEXT
?qt=3Dcommiter?q=3DSOMETEXT

For those last 3, I gather you would like the display order to be by the
Age order.

I've not figured out what the crtieria is for the order currently =
displayed
for these, with your specific example of
https://cgit.freebsd.org/src/log/?qt=3Dgrep&q=3Dterminfo&h=3Dmain being
a good example: The first line after the column title line being:

* 	Remove parameter names from libzfs.h signatures	Nick Black	=
2020-01-09	1	-7/+7

is far from obvious to me.

(One thing I do not know is how reasonable it would be to sort search
results that have a huge number of lines to make the end results be in
Age order.)

Notes:

I may not have listed all forms of ?qt=3D????q=3D???? that match =
everything
or a single subsequence of a parent-commit order vs. those that do not
match such and so omit some partent-commits. Still, I hope the general
point is clear.

For this note, I'm ignoring the "time mismatch" issue. It appears that
consideration of trying to avoid sizable mismatches is being made.
(This would not fix already existing sizable mismatches, just prevent
more.)


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DA8BB831-C7B9-4510-9BFE-72C2F971CCBD>