Make 'diff_populate_filespec()' use the new 'strbuf_readlink()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2008 18:26:13 +0000 (10:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 21:36:34 +0000 (13:36 -0800)
commitcf219d8c68ada1aa2855f4862f15753a32d09641
treee74f4214cf23f10a46637d94ff81192e01f29dfd
parentb760d3aa74585a96f0ccc4ce0374528a38be5177
Make 'diff_populate_filespec()' use the new 'strbuf_readlink()'

This makes all tests pass on a system where 'lstat()' has been hacked to
return bogus data in st_size for symlinks.

Of course, the test coverage isn't complete, but it's a good baseline.

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