#include "parse-options.h"
#include "fetch-pack.h"
#include "refs.h"
+#include "refspec.h"
#include "tree.h"
#include "tree-walk.h"
#include "unpack-trees.h"
}
static struct ref *wanted_peer_refs(const struct ref *refs,
- struct refspec *refspec)
+ struct refspec_item *refspec)
{
struct ref *head = copy_ref(find_ref_by_name(refs, "HEAD"));
struct ref *local_refs = head;
int err = 0, complete_refs_before_fetch = 1;
int submodule_progress;
- struct refspec *refspec;
+ struct refspec_item *refspec;
const char *fetch_pattern;
fetch_if_missing = 0;