Skip to main content

admit_git

Function admit_git 

Source
pub fn admit_git(
    trust: ProjectTrust,
    _access: &GitAccess<'_>,
    confinement: &Confinement,
) -> Admission
Expand description

The one decision point for every git the engine starts.

An untrusted project’s repository configuration is whoever wrote the project’s: the programs it names (filter drivers, diff.external, core.sshCommand) git starts on its own. So a git outside any sandbox does not run in one.