Use is_absolute_path() in sha1_file.c.
authorJohannes Sixt <johannes.sixt@telecom.at>
Tue, 13 Nov 2007 20:05:00 +0000 (21:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 23:18:39 +0000 (15:18 -0800)
commit85dadc389468211a2fc0006ce8ea524490d417f5
tree30eedb2c9fdf9991d7a2dc617b5c56d9ed188dfe
parent25482a3c0cc127fc5065552fe09e4709f32a2701
Use is_absolute_path() in sha1_file.c.

There are some places that test for an absolute path. Use the helper
function to ease porting.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c