bitmap_has_sha1_in_uninteresting(): drop BUG check
[gitweb.git] / pack-bitmap.c
index c3231ef9ef2d57ce21ebe8db64401af95a0bb6e6..76fd93a3de44da314bf137fb3a9a6433cf5dcbe7 100644 (file)
@@ -1128,8 +1128,6 @@ int bitmap_has_sha1_in_uninteresting(struct bitmap_index *bitmap_git,
 
        if (!bitmap_git)
                return 0; /* no bitmap loaded */
-       if (!bitmap_git->result)
-               BUG("failed to perform bitmap walk before querying");
        if (!bitmap_git->haves)
                return 0; /* walk had no "haves" */