| 545 | } |
| 546 | |
| 547 | int refs_for_each_branch_ref(struct ref_store *refs, refs_for_each_cb cb, void *cb_data) |
| 548 | { |
| 549 | struct refs_for_each_ref_options opts = { |
| 550 | .prefix = "refs/heads/", |
| 551 | .trim_prefix = strlen("refs/heads/"), |
| 552 | }; |
| 553 | return refs_for_each_ref_ext(refs, cb, cb_data, &opts); |
| 554 | } |
| 555 | |
| 556 | int refs_for_each_remote_ref(struct ref_store *refs, refs_for_each_cb cb, void *cb_data) |
| 557 | { |
no test coverage detected