author | Alex Riesen <raa.lkml@gmail.com> | |
Wed, 5 Oct 2005 14:58:11 +0000 (16:58 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 5 Oct 2005 17:50:57 +0000 (10:50 -0700) | ||
commit | d6e548d61fa95b98e98b3c1e592a4d73aa308969 | |
tree | 755ada28d210daa8128a54494a9e2097a9531c48 | tree | snapshot |
parent | 0b34379a8da82061308b7a22d0caa1834d579f48 | commit | diff |
[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>
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 | diff | blob | history |