Re: [PATCH] checkout: tone down the "forked status" diagnostic messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 20, 2008 at 6:05 PM, Junio C Hamano <gitster@xxxxxxxxx> wrote:

>  diff --git a/builtin-checkout.c b/builtin-checkout.c
>  index 5291f72..261f67f 100644
>  --- a/builtin-checkout.c
>  +++ b/builtin-checkout.c
>  @@ -301,64 +301,88 @@ static void adjust_to_tracking(struct branch_info *new, struct checkout_opts *op
>         char *base;
>  +       base = branch->merge[0]->dst;
>         if (!resolve_ref(base, sha1, 1, NULL))
>                 return;

Apparently base can be null, which on OS X causes a Bus Error in resolve_ref
when it calls strcmp(ref, list->name)

j.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux