MCPcopy Create free account
hub / github.com/git/git / push_had_errors

Function push_had_errors

transport.c:545–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545static 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
560int transport_refs_pushed(struct ref *ref)
561{

Callers 2

print_ref_statusFunction · 0.85
transport_pushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected