Junio C Hamano wrote:
>> +             if (!branch)
>> +                     die(_(message_detached_head_die), remote->name);
>>               add_refspec("HEAD");
>>               break;
> Would it hurt to do
>         if (!branch_get(NULL))
>                 die(...);
> here, without the first hunk?

And how would I change the add_refspec() call to take branch->name in [3/3]?
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to