Make 'index_path()' use 'strbuf_readlink()'
commitb760d3aa74585a96f0ccc4ce0374528a38be5177
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2008 17:51:53 +0000 (17 09:51 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 21:36:34 +0000 (17 13:36 -0800)
treef67ad22604af71d2acd6e52bdb44e02ccd9e0d81
parenta60272b38e548f46c5e1d7127cf18a469fefa237
Make 'index_path()' use 'strbuf_readlink()'

This makes us able to properly index symlinks even on filesystems where
st_size doesn't match the true size of the link.

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