Skip to main content

activate

Function activate 

Source
pub fn activate()
Expand description

What: Switch the hooks-off option on for every real-Git start this process makes from now on. Why: The executable’s entry calls it first, so no production start misses it. The library’s unit controls, which fake Git with scripts that record the exact arguments they receive, leave it off, and the binary-level controls prove the option on the built executable.

In TS you’d write (pseudocode):

hooksOff.active = true;