Commit bb9272dd7af68590452cbf91b0b8583e22f0c066

Carlos Martín Nieto 2011-06-07T17:03:07

filebuf cleanup: only unlink lockfile if we've opened it Add a check for the file descriptor in git_filebuf_cleanup. Without it, an existing lockfile would be deleted if we tried to acquire it (but failed, as the lockfile already existed). Signed-off-by: Carlos Martín Nieto <cmn@elego.de>