Re: git repo port issues?

From: Steffen Nurpmeso <steffen_at_sdaoden.eu>
Date: Wed, 03 Jan 2024 23:27:17 UTC
Bakul Shah wrote in
 <46C8698A-A004-4B5F-9107-6D9FD3685074@iitbombay.org>:
 |On Jan 3, 2024, at 11:22 AM, Brooks Davis <brooks@freebsd.org> wrote:
 |> 
 |> Nothing about dates is centralized in git, but some server side checks
 |> could be implemented on CommitDate.  IMO we should require that
 |> CommitDate be >= the previous one and less than "now".
 |
 |Given that git commit objects form a DAG, I don't see how you can
 |impose linearity.

On the other hand, if a project agrees, and for example locks the
main branch, any merging or plain committing to it can enforce
commit-amending including date-updates etc, as well as expanding
$CVS and @# SCCS format strings (i think by then this discussion
came up in the past, and Warner Losh rejected such a thing, if
i recall correctly ... but may not).

 --End of <46C8698A-A004-4B5F-9107-6D9FD3685074@iitbombay.org>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)