From: Kjetil Barvik Date: Mon, 9 Feb 2009 20:54:52 +0000 (+0100) Subject: show_patch_diff(): remove a call to fstat() X-Git-Tag: v1.6.3-rc0~147^2~12 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/91fcbcbdcdd845bd43104c5ac0af4c40da15223b?ds=sidebyside;hp=91fcbcbdcdd845bd43104c5ac0af4c40da15223b show_patch_diff(): remove a call to fstat() Currently inside show_patch_diff() we have an fstat() call after an ok lstat() call. Since before the call to fstat() we have already tested for the link case with S_ISLNK(), the fstat() can be removed. Signed-off-by: Kjetil Barvik Signed-off-by: Junio C Hamano ---