lstat_cache: optionally return match_len
authorClemens Buchacher <drizzd@aon.at>
Sat, 9 Oct 2010 13:52:59 +0000 (15:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Dec 2010 16:55:11 +0000 (08:55 -0800)
commitf7e3bd37fb9355ee036da4cf11d6e8186b506d5f
treebd06c2b6f51cbb72bf45be63ac31c58c3f330e4c
parent6838d1ad6b52c95c02de4c476aae2192050ac2c9
lstat_cache: optionally return match_len

Return match_len so that the caller can know which leading path
component matched.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
symlinks.c