Re: [PATCH 3/3] transport: don't show push status if --quiet is given

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

 



Heya,

On Wed, Aug 5, 2009 at 13:23, Jeff King<peff@xxxxxxxx> wrote:
> +       for (; ref; ref = ref->next) {
> +               switch (ref->status) {
> +               case REF_STATUS_NONE:
> +               case REF_STATUS_UPTODATE:
> +               case REF_STATUS_OK:
> +                       break;
> +               default:
> +                       return 1;
> +               }
> +       }

Is my C getting sloppy or is this a non-looping loop? AFAICS it either
return 1's on the first run, or breaks?

-- 
Cheers,

Sverre Rabbelier
--
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]