async fn fetch_base(
cwd: &Path,
remote_branch: &str,
deadline: Option<Instant>,
budget: Duration,
ssh: SshCommand,
) -> FetchedExpand description
Fetch one remote-tracking branch without touching the rest of the user’s
checkout: an explicit refspec with its destination, so a remote whose own
fetch refspec differs still updates the ref this layer reads;
--no-auto-gc so a killed child leaves no maintenance daemon behind;
--no-write-fetch-head so their FETCH_HEAD is not clobbered on every
open; and --quiet so progress never rides a captured stream.
Answers what the child did: error is None when git fetched and git’s own
words when it did not, and cut says the run’s bound ended it.