From: Lars Hjemli Date: Wed, 29 Nov 2006 20:44:56 +0000 (+0100) Subject: rename_ref: use lstat(2) when testing for symlink X-Git-Tag: v1.5.0-rc0~121^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/16c2bfbb449a90db00a46984d7dd7f735caa1d56?ds=inline;hp=16c2bfbb449a90db00a46984d7dd7f735caa1d56 rename_ref: use lstat(2) when testing for symlink The current check for symlinked reflogs was based on stat(2), which is utterly embarrassing. Fix it, and add a matching testcase. Signed-off-by: Lars Hjemli Signed-off-by: Junio C Hamano ---