Code

resolve_ref(): use prefixcmp()
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 15 Sep 2011 21:10:32 +0000 (23:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 20:45:30 +0000 (13:45 -0700)
commitb54cb795970628714a3a9fa0f4a73cd117b0207f
tree820693fa86362579525df41f6f53125df80d7e69
parent7bb2bf8e5cc47f7731c9c012ecc943b14f99ee5a
resolve_ref(): use prefixcmp()

Terminate the link content string one step earlier, allowing
prefixcmp() to be used instead of the less clear memcmp().

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c