mark_common(commit, 0, 1);
retval = 0;
got_continue = 1;
- if (ack == ACK_ready) {
- clear_prio_queue(&rev_list);
+ if (ack == ACK_ready)
got_ready = 1;
- }
break;
}
}
print_verbose(args, _("giving up"));
break; /* give up */
}
+ if (got_ready)
+ break;
}
}
done:
die(_("git fetch-pack: fetch failed."));
all_done:
+ clear_prio_queue(&rev_list);
return ref;
}
}
if (!strcmp(reader->line, "ready")) {
- clear_prio_queue(&rev_list);
received_ready = 1;
continue;
}
}
}
+ clear_prio_queue(&rev_list);
oidset_clear(&common);
return ref;
}