Re: Increase some limits in git-mailinfo

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

 



Hi,

On Mon, 26 Feb 2007, Linus Torvalds wrote:

> So I'd rather have it return true if it matches, rather than false if it 
> matches and -1/1 if it doesn't. But that's water under the bridge.

In that case, you'd have to name it has_prefix() or hasprefix() rather 
than prefixcmp(), which C programmers used to the semantics of strcmp() 
expect to return a tristate result.

> 	assert(sz);
> 	sz--;

Melikes.

Ciao,
Dscho

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