Code

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