Add prefixcmp()
authorJunio C Hamano <junkio@cox.net>
Tue, 20 Feb 2007 09:51:22 +0000 (01:51 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Feb 2007 06:03:14 +0000 (22:03 -0800)
commitcff0302c14522ba7b34265ee39f23e6321a4777d
treed03cceec382cd4f19a1d09e9dc5f2ffbc412297a
parent9360f27ff79df898b68ee7931c701569298d1e7e
Add prefixcmp()

We have too many strncmp(a, b, strlen(b)).

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-compat-util.h