mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-21 00:21:27 +00:00
ls-remote ran in the caller's working directory while fetch, cat-file, checkout, and rev-parse ran inside the temporary checkout, so the lookup honored repository-local config (url.*.insteadOf, credential.*, http.*, core.sshCommand) that the fetch never saw, and a broken .git in the caller's directory failed the lookup outright. Initialize the scratch repository first and run every command from it, so all steps see the same configuration. Target resolution uses a short-lived scratch repository of its own and still creates no checkout. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||