Skip to main content

fetch_bundle

Function fetch_bundle 

Source
pub fn fetch_bundle(request: FetchBundleRequest<'_>) -> Result<()>
Expand description

Fetch from a parsed bundle into the repository at git_dir.

Installs the bundle pack (unless dry_run), plans the ref-map for refspecs (empty means write FETCH_HEAD for the bundle’s HEAD only), writes FETCH_HEAD when requested, and applies remote-tracking ref updates. Bundle fetches have no shallow support; callers should warn-and-ignore a --depth before calling.