Code

Make 'ce_compare_link()' use the new 'strbuf_readlink()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2008 17:47:27 +0000 (09:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 21:36:34 +0000 (13:36 -0800)
commita60272b38e548f46c5e1d7127cf18a469fefa237
treec10a84b73cbe068e48277a41686fcc1887bfe8fd
parentb11b7e13f48ee283738e21fea9f775cd40ca0562
Make 'ce_compare_link()' use the new 'strbuf_readlink()'

This simplifies the code, and also makes ce_compare_link now able to
handle filesystems with odd 'st_size' return values for symlinks.

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