We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649f588 commit 977b81bCopy full SHA for 977b81b
gix/src/remote/connection/fetch/mod.rs
@@ -182,7 +182,7 @@ where
182
progress: impl Progress,
183
options: ref_map::Options,
184
) -> Result<Prepare<'remote, 'repo, T>, prepare::Error> {
185
- if self.remote.refspecs(remote::Direction::Fetch).is_empty() {
+ if self.remote.refspecs(remote::Direction::Fetch).is_empty() && options.extra_refspecs.is_empty() {
186
return Err(prepare::Error::MissingRefSpecs);
187
}
188
let ref_map = self.ref_map_inner(progress, options).await?;
0 commit comments