-
-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed
Description
Current behavior 😯
Cannot perform a meaningful fetch operation without any configured ref-specs
Expected behavior 🤔
Successful fetch
Git behavior
git remote show origin -n
seems to indicate that it happily won't update anything.
Steps to reproduce 🕹
let mut options = gix::remote::ref_map::Options::default();
options.extra_refspecs.push(gix::refspec::parse("adc83b19e793491b1c6ea0fd8b46cd9f32e592fc".as_ref().into(), gix::refspec::parse::Operation::Fetch).unwrap().to_owned());
prepare_fetch(gix::progress::Discard, options) // -> prepare::Error::MissingRefSpecs
Metadata
Metadata
Assignees
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixed