read-cache: add strcmp_offset function
Add strcmp_offset() function to also return the offset of the first change. Add unit test and helper to verify. Signed-off-by: NJeff Hostetler <jeffhost@microsoft.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
t/helper/test-strcmp-offset.c
0 → 100644
t/t0065-strcmp-offset.sh
0 → 100755
想要评论请 注册 或 登录