link_temp_to_file: don't leave the path truncated on adjust_shared_perm failure
authorJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 23:56:58 +0000 (15:56 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 31 Oct 2006 23:56:58 +0000 (15:56 -0800)
commit91c23e48d0666a673dd14760bb00f6d59234d9d9
treef32f8e3ab65c369a41fda0f0ec8a89f4997f9da6
parent9dad9d2e5b322835c87e1653268d892a95ee0f1f
link_temp_to_file: don't leave the path truncated on adjust_shared_perm failure

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c