libgit2/libgit2 — pull request #1276 by sba1 (2013-01-24 09:16:59+00:00)
Title: Use memcpy() in git_oid_cmp() instead of DIY.

It means less code and it can be a hint for compiler what is done
here enabling easier optimizations.

Not sure if you like it though due to the inclusion of string.h.