pub fn clone_url_to_bare(url: &Url, dest: &Path) -> GitResult<()>Expand description
Clone a remote git URL into dest as a bare repository, fetching all
branches and tags. Mirrors the gix recipe used by fetch_network_remote
but starts from an empty init_bare rather than an existing repo.
Used by bridge import --path <URL> (Phase F): we clone into a
scratch directory under the heddle repo’s .heddle/tmp/ and feed the
resulting bare repo into the normal import path.