setup: translate symlinks in filename when using absolute paths
authorCarlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Mon, 27 Dec 2010 10:54:37 +0000 (02:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 Jan 2011 21:44:41 +0000 (13:44 -0800)
commit18e051a3981f38db08521bb61ccf7e4571335353
treefeb3a76f9899832572c5fdeb021b99b04445df81
parent0ed748134748579a13cf27e1e8b3e55371bcd9dc
setup: translate symlinks in filename when using absolute paths

otherwise, comparison to validate against work tree will fail when
the path includes a symlink and the name passed is not canonical.

Signed-off-by: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c