Make 'prepare_temp_file()' ignore st_size for symlinks
commitdfab6aaecfe9df67123efc778f6aea4e9814715a
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Dec 2008 18:31:36 +0000 (17 10:31 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2008 21:36:34 +0000 (17 13:36 -0800)
treef4ba53a0681ed08c28259ea797767628952b99ed
parentcf219d8c68ada1aa2855f4862f15753a32d09641
Make 'prepare_temp_file()' ignore st_size for symlinks

The code was already set up to not really need it, so this just massages
it a bit to remove the use entirely.

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