author | Linus Torvalds <torvalds@linux-foundation.org> | |
Wed, 17 Dec 2008 18:26:13 +0000 (10:26 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Dec 2008 21:36:34 +0000 (13:36 -0800) | ||
commit | cf219d8c68ada1aa2855f4862f15753a32d09641 | |
tree | e74f4214cf23f10a46637d94ff81192e01f29dfd | tree | snapshot |
parent | b760d3aa74585a96f0ccc4ce0374528a38be5177 | commit | diff |
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>
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 | diff | blob | history |