format-patch: refactor branch name calculation
By moving the part that relies on rev->pending earlier, where we are already checking the special case where there's only one ref. Signed-off-by: NFelipe Contreras <felipe.contreras@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录