lstat_cache(): generalise longest_match_lstat_cache()
authorKjetil Barvik <barvik@broadpark.no>
Mon, 9 Feb 2009 20:54:05 +0000 (21:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Feb 2009 04:59:26 +0000 (20:59 -0800)
commit148bc06b9101042342a89454a003998fc0e1ded3
tree1d21d9eb8094aa9f28bfe5516cada1139f574bbd
parent60b458b7d31ff2497ed90cbe9f65444d84882cec
lstat_cache(): generalise longest_match_lstat_cache()

Rename the function to longst_path_match() and generalise it such that
it can also be used by other functions.

Signed-off-by: Kjetil Barvik <barvik@broadpark.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
symlinks.c