Junio C Hamano <[email protected]> writes:
> static void upload_pack(void)
> {
> + struct string_list symref = STRING_LIST_INIT_DUP;
> +
> + head_ref_namespaced(find_symref, &symref);
> +
> if (advertise_refs || !stateless_rpc) {
> reset_timeout();
> - head_ref_namespaced(send_ref, NULL);
> + head_ref_namespaced(send_ref, &symref);
> for_each_namespaced_ref(send_ref, NULL);
This one was trying to be too clever; HEAD may be pointing at an
unborn branch in which case head_ref_namespaced() will not emit
the capability bit, so the second line also needs to be
for_each_namespaced_ref(send_ref, &symref);
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html