link_alt_odb_entries(): take (char *, len) rather than two pointers
authorMichael Haggerty <redacted>
Mon, 5 Nov 2012 08:41:23 +0000 (09:41 +0100)
committerJeff King <redacted>
Thu, 8 Nov 2012 17:06:53 +0000 (12:06 -0500)
commitc595016402620ba93e79064f6e3bc9e09981e680
tree292d956d86c42cf987cf5fffaa8b17cc53994f0f
parent6eac50d8274ef0acbbaec4f79e2876405ba8dcee
link_alt_odb_entries(): take (char *, len) rather than two pointers

Change link_alt_odb_entries() to take the length of the "alt"
parameter rather than a pointer to the end of the "alt" string.  This
is the more common calling convention and simplifies the code a tiny
bit.

Signed-off-by: Michael Haggerty <redacted>
Signed-off-by: Jeff King <redacted>
sha1_file.c
git clone https://git.99rst.org/PROJECT