| 552 | } |
| 553 | |
| 554 | static bool pt_object(pt_fixture *fx, const char *type, const void *bytes, size_t length, |
| 555 | char out[65]) { |
| 556 | const char *argv[] = {"hash-object", "-w", "--no-filters", "-t", type, "--", fx->input, NULL}; |
| 557 | return pt_write(fx->input, bytes, length) && pt_oid(fx, argv, out); |
| 558 | } |
| 559 | |
| 560 | static bool pt_commit(pt_fixture *fx, const char *tree, const char *one, const char *two, |
| 561 | const char *name, char out[65]) { |
no test coverage detected