Git 2.0-rc0
[gitweb.git] / pack-bitmap.c
index ae0b57b95011af835d3b47f253572e8c44f6482e..91e41015316e8d5c166cdee92c453ec23a483dab 100644 (file)
@@ -727,8 +727,10 @@ int prepare_bitmap_walk(struct rev_info *revs)
        revs->pending.objects = NULL;
 
        if (haves) {
+               revs->ignore_missing_links = 1;
                haves_bitmap = find_objects(revs, haves, NULL);
                reset_revision_walk();
+               revs->ignore_missing_links = 0;
 
                if (haves_bitmap == NULL)
                        die("BUG: failed to perform bitmap walk");