Prepare symlink caching for thread-safety
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Jul 2009 20:23:59 +0000 (13:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Jul 2009 03:05:19 +0000 (20:05 -0700)
commit867f72bf434a05b9eadf851a81564be5173fbba5
treeafe575d1daf7ea9c04d3eb77833c574e101dad4d
parent443e061a41bee30de34793648793ed70477ac575
Prepare symlink caching for thread-safety

This doesn't actually change the external interfaces, so they are still
thread-unsafe, but it makes the code internally pass a pointer to a
local 'struct cache_def' around, so that the core code can be made
thread-safe.

The threaded index preloading will want to verify that the paths leading
up to a pathname are all real directories.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
symlinks.c