Re: Increase some limits in git-mailinfo
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Feb 26, 2007, 20:22 UTC
- Message-ID
- <Pine.LNX.4.64.0702261221530.12485@woody.linux-foundation.org>
- In-Reply-To
- <Pine.LNX.4.63.0702262117160.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Mon, 26 Feb 2007, Johannes Schindelin wrote:
Show 7 quoted lines
> > > 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.
Sure. Or "match_prefix()" or whatever. I agree.
Linus