]> git.ipfire.org Git - thirdparty/git.git/blobdiff - checkout.c
cocci: apply the "cache.h" part of "the_repository.pending"
[thirdparty/git.git] / checkout.c
index 2e39dae684f8f0a048d172f36b21740f92e7de57..1247b8822481a6face3fc47a45ec2ce1bf298c06 100644 (file)
@@ -23,7 +23,7 @@ static int check_tracking_name(struct remote *remote, void *cb_data)
        memset(&query, 0, sizeof(struct refspec_item));
        query.src = cb->src_ref;
        if (remote_find_tracking(remote, &query) ||
-           get_oid(query.dst, cb->dst_oid)) {
+           repo_get_oid(the_repository, query.dst, cb->dst_oid)) {
                free(query.dst);
                return 0;
        }