Code

[PATCH] hold_index_file_for_update should not unlink failed to open .lock files atexit
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 5 Oct 2005 14:58:11 +0000 (16:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Oct 2005 17:50:57 +0000 (10:50 -0700)
commitd6e548d61fa95b98e98b3c1e592a4d73aa308969
tree755ada28d210daa8128a54494a9e2097a9531c48
parent0b34379a8da82061308b7a22d0caa1834d579f48
[PATCH] hold_index_file_for_update should not unlink failed to open .lock files atexit

Set up atexit only if the .lock-file was opened successfully.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
index.c