From nobody Thu Nov 18 16:29:27 2021 X-Original-To: freebsd-git@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ACB211853F7F for ; Thu, 18 Nov 2021 16:29:33 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hw4y54Q0jz3vYp; Thu, 18 Nov 2021 16:29:33 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 7B9903C0199; Thu, 18 Nov 2021 16:29:27 +0000 (UTC) Date: Thu, 18 Nov 2021 16:29:27 +0000 From: Brooks Davis To: Philip Paeps Cc: marklmi@yahoo.com, Ulrich Sp??rlein , Graham Perrin , freebsd-git Subject: Re: cgit, ages and chronological order Message-ID: <20211118162927.GG81740@spindle.one-eyed-alien.net> References: <9766b3e1-fb5d-1993-46e2-057e2567315a@gmail.com> <36020FD7-32A4-4869-B6A2-2622F50F6478@yahoo.com> List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="11Y7aswkeuHtSBEs" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 4Hw4y54Q0jz3vYp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --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--