| 43 | } |
| 44 | |
| 45 | static void feed_object(struct repository *r, |
| 46 | const struct object_id *oid, FILE *fh, int negative) |
| 47 | { |
| 48 | if (negative && !odb_has_object(r->objects, oid, 0)) |
| 49 | return; |
| 50 | |
| 51 | if (negative) |
| 52 | putc('^', fh); |
| 53 | fputs(oid_to_hex(oid), fh); |
| 54 | putc('\n', fh); |
| 55 | } |
| 56 | |
| 57 | /* |
| 58 | * Make a pack stream and spit it out into file descriptor fd |
no test coverage detected