Skip to main content

git_base_command

Function git_base_command 

Source
pub fn git_base_command(repo_root: &Path) -> Command
Expand description

Build a base git command with fsmonitor disabled.

Some environments (notably when fsmonitor is enabled but unhealthy) emit: error: fsmonitor_ipc__send_query: … ‘.git/fsmonitor–daemon.ipc’ This is noisy and can confuse agents/automation. Disabling fsmonitor for Ralph’s git invocations avoids that class of failures.