Re: cgit, ages and chronological order

From: Gleb Smirnoff <glebius_at_freebsd.org>
Date: Thu, 18 Nov 2021 15:50:58 UTC
On Thu, Nov 18, 2021 at 12:46:49PM +0800, Philip Paeps wrote:
P> On 2021-11-17 06:32:52 (+0800), Mark Millard via freebsd-git wrote:
P> > information being based on local git commit timing (and clocks)
P> > vs. when the commits are pushed to FreeBSD servers: The display
P> > order is from the timing on the FreeBSD servers but the Age is
P> > based on the original commit (before the push). The longer the
P> > delay between commit and push, the more noticeable the
P> > distinction is.
P> 
P> Some projects require a "git rebase --ignore-date" (or "git rebase 
P> --reset-author-date", which I consider the more obvious spelling) before 
P> pushing.  A hook could potentially reject commits with timestamps that 
P> are too far off to the server's liking.
P> 
P> I can't comment on whether we need or want either the policy or the hook 
P> or both.  I don't really have a problem with the default Git behaviour 
P> here.

I think we should strongly recommend this before pushing, not enforce.

I often myself forget to do that, though.

-- 
Gleb Smirnoff