async fn rev_parse_gate(
cwd: &Path,
budget: Duration,
) -> Result<String, RepoGate>Expand description
Resolve the rev-parse gate for cwd: the raw branch string, or the
terminal repo_gate. The repo-existence probe runs only on a
non-zero exit, so the healthy path still costs a single subprocess.