| 328 | } |
| 329 | |
| 330 | void tmp_objdir_replace_primary_odb(struct tmp_objdir *t, int will_destroy) |
| 331 | { |
| 332 | if (t->prev_source) |
| 333 | BUG("the primary object database is already replaced"); |
| 334 | t->prev_source = odb_set_temporary_primary_source(t->repo->objects, |
| 335 | t->path.buf, will_destroy); |
| 336 | t->will_destroy = will_destroy; |
| 337 | } |
no test coverage detected