summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorJeremiah Mahler <jmmahler@gmail.com>2014-06-20 02:06:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-06-20 17:08:10 (GMT)
commitbe99ec97c8a1f94e723c6cc5331eff921ae49ed3 (patch)
tree42bf5a8aa8c0ce9d9173480388c2b9612d36ded4 /unpack-trees.c
parentcb682f8cfe63ecd0da08a526f404d295e51e3ab1 (diff)
downloadgit-be99ec97c8a1f94e723c6cc5331eff921ae49ed3.zip
git-be99ec97c8a1f94e723c6cc5331eff921ae49ed3.tar.gz
git-be99ec97c8a1f94e723c6cc5331eff921ae49ed3.tar.bz2
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 <jmmahler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions