summaryrefslogtreecommitdiff
path: root/t/helper/test-strcmp-offset.c
AgeCommit message (Collapse)AuthorFilesLines
2017-04-15read-cache: add strcmp_offset functionLibravatar Jeff Hostetler1-0/+22
Add strcmp_offset() function to also return the offset of the first change. Add unit test and helper to verify. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>