| 543 | } |
| 544 | |
| 545 | static int push_had_errors(struct ref *ref) |
| 546 | { |
| 547 | for (; ref; ref = ref->next) { |
| 548 | switch (ref->status) { |
| 549 | case REF_STATUS_NONE: |
| 550 | case REF_STATUS_UPTODATE: |
| 551 | case REF_STATUS_OK: |
| 552 | break; |
| 553 | default: |
| 554 | return 1; |
| 555 | } |
| 556 | } |
| 557 | return 0; |
| 558 | } |
| 559 | |
| 560 | int transport_refs_pushed(struct ref *ref) |
| 561 | { |
no outgoing calls
no test coverage detected