From: Jeremiah Mahler Date: Fri, 20 Jun 2014 02:06:43 +0000 (-0700) Subject: name-hash.c: replace cache_name_compare() with memcmp(3) X-Git-Tag: v2.1.0-rc0~78^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/be99ec97c8a1f94e723c6cc5331eff921ae49ed3?hp=be99ec97c8a1f94e723c6cc5331eff921ae49ed3 name-hash.c: replace cache_name_compare() with memcmp(3) The same_name() private function wants a quick-and-exact check to see if they two names are byte-for-byte identical first and then fall back to the slow path. Use memcmp(3) for the former to make it clear that we do not want any "name" specific comparison. Signed-off-by: Jeremiah Mahler Signed-off-by: Junio C Hamano ---