Date: Thu, 18 Nov 2021 16:29:27 +0000 From: Brooks Davis <brooks@freebsd.org> To: Philip Paeps <philip@freebsd.org> Cc: marklmi@yahoo.com, Ulrich Sp??rlein <uqs@freebsd.org>, Graham Perrin <grahamperrin@gmail.com>, freebsd-git <freebsd-git@freebsd.org> Subject: Re: cgit, ages and chronological order Message-ID: <20211118162927.GG81740@spindle.one-eyed-alien.net> In-Reply-To: <FFB55106-BA73-4639-9772-0B3608B3E8DC@freebsd.org> References: <9766b3e1-fb5d-1993-46e2-057e2567315a@gmail.com> <CAJ9axoT6kEwC%2Bt5zHSKPSFgFmaOt8-CXPAG5jsanWobT4LZhpA@mail.gmail.com> <36020FD7-32A4-4869-B6A2-2622F50F6478@yahoo.com> <FFB55106-BA73-4639-9772-0B3608B3E8DC@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--11Y7aswkeuHtSBEs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 18, 2021 at 12:46:49PM +0800, Philip Paeps wrote: > On 2021-11-17 06:32:52 (+0800), Mark Millard via freebsd-git wrote: > > information being based on local git commit timing (and clocks) > > vs. when the commits are pushed to FreeBSD servers: The display > > order is from the timing on the FreeBSD servers but the Age is > > based on the original commit (before the push). The longer the > > delay between commit and push, the more noticeable the > > distinction is. >=20 > Some projects require a "git rebase --ignore-date" (or "git rebase=20 > --reset-author-date", which I consider the more obvious spelling) before= =20 > pushing. A hook could potentially reject commits with timestamps that=20 > are too far off to the server's liking. >=20 > I can't comment on whether we need or want either the policy or the hook= =20 > or both. I don't really have a problem with the default Git behaviour=20 > here. I always use --ignore-date when curating pre-commit. I'd like to at an absolute minimum enforce that CommitDate be newer than the previous commit and older than the push time. There is no good argument for allowing non-linear CommitDates since the only requirement is that the committer have their clock set more or less correctly. -- Brooks --11Y7aswkeuHtSBEs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJhln9mAAoJEKzQXbSebgfAjwsIAILdwZcvgF8rovwLguO+0enr OCOgiPndIB4u2vyhbKSpAin14sXq3IK2vkUph9FcoRYwS4J3qxqQqwTjwtI9KLzS /tEAj3uwYawk0zNXJu7vm9MsVrWO5p5QR0749vwLMYJMkbASMF2o23qmvkjcUie1 uD/kLsadfEum6zd70tMbWObAQKzbLj3F7tG/w07mXMSvmdQcH4gBzeMAFwibd83X QIQBRq+cK0ljTWbj2x3imUaxtMRoTrRHrUF9QVIHilq9iDny7+ak4UmVgAvHfku1 bD6GgLC/kTDZD4rmncQaYEnDWfYyT7lPEDDy+ti14uhmeKvWOmXfbpmUUiZbQjY= =iiT7 -----END PGP SIGNATURE----- --11Y7aswkeuHtSBEs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211118162927.GG81740>