Re: [PATCHv3 2/2] git-patch-id: do not trip over "no newline" markers

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

 



On Fri, Feb 18, 2011 at 11:43:16AM +0100, Michael J Gruber wrote:

> >> +		else if (!memcmp(line, "\\ ", 2) && strlen(line)>=12)
> >> +			continue;
> > 
> > Whitespace around relational operators.
> 
> You think
> 
> +		else if (!memcmp(line, "\\ ", 2)&&strlen(line)>=12)
> 
> is that much better?

Yeah, it's starting to look like perl. :)

-Peff
--
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]