Bakul Shah wrote in
 <[email protected]>:
 |On Jan 3, 2024, at 11:22 AM, Brooks Davis <[email protected]> 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 <[email protected]>

--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)

Reply via email to