Re:Extremely Linear Git History
by jonstewart on Tuesday November 22, 2022 @12:31PM
(#33708394)
There are all sorts of workflows that can be arranged to prevent that while still having optimistic continuous integration on trunk.
The more paranoid would claim that requiring PRs that then require approvals prevents a malicious engineer from adding an obvious back door to the code.
You would hope you can trust your co-workers, but sometimes a hack is an inside job.