| 36 | } |
| 37 | |
| 38 | static void show_object(struct traversal_context *ctx, |
| 39 | struct object *object, |
| 40 | const char *name) |
| 41 | { |
| 42 | if (!ctx->show_object) |
| 43 | return; |
| 44 | if (ctx->revs->unpacked && has_object_pack(ctx->revs->repo, |
| 45 | &object->oid)) |
| 46 | return; |
| 47 | |
| 48 | ctx->show_object(object, name, ctx->show_data); |
| 49 | } |
| 50 | |
| 51 | static void process_blob(struct traversal_context *ctx, |
| 52 | struct blob *blob, |
no test coverage detected