Commit Graph

23 Commits (master)

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason 9865b6e6a4 *.[ch] *_INIT macros: use { 0 } for a "zero out" idiom 1 year ago
Taylor Blau fa3bff2466 lockfile.c: introduce 'hold_lock_file_for_update_mode' 2 years ago
Denton Liu ad6dad0996 *.[ch]: manually align parameter lists 3 years ago
Denton Liu 554544276a *.[ch]: remove extern from function declarations using spatch 3 years ago
Jeff King 6c003d6ffb reopen_tempfile(): truncate opened file 4 years ago
Martin Ågren d613576dfe lockfile: fix documentation on `close_lock_file_gently()` 5 years ago
Jeff King 5e7f01c93e lockfile: update lifetime requirements in documentation 5 years ago
Jeff King 076aa2cbda tempfile: auto-allocate tempfiles on heap 5 years ago
Jeff King 83a3069a38 lockfile: do not rollback lock on failed close 5 years ago
Jeff King 49bd0fc222 tempfile: do not delete tempfile on failed close 5 years ago
Michael Haggerty 0978f4ba7f lockfile: add a new method, is_lock_file_locked() 5 years ago
Junio C Hamano b22d748403 lockfile: move REPORT_ON_ERROR bit elsewhere 6 years ago
Junio C Hamano 3f061bf514 lockfile: LOCK_REPORT_ON_ERROR 6 years ago
Ben Wijen 05d1ed6148 mingw: ensure temporary file handles are not inherited by child processes 6 years ago
Ralf Thielow aae42e43c4 lockfile: remove function "hold_lock_file_for_append" 7 years ago
Michael Haggerty 1a9d15db25 tempfile: a new module for handling temporary files 7 years ago
Michael Haggerty b4fb09e4da lockfile: add accessor get_lock_file_path() 7 years ago
Michael Haggerty c99a4c2db3 lockfile: add accessors get_lock_file_fd() and get_lock_file_fp() 7 years ago
Michael Haggerty 2db69de81d lockfile: move documentation to lockfile.h and lockfile.c 7 years ago
Michael Haggerty 044b6a9efe lockfile: allow file locking to be retried with a timeout 7 years ago
Jonathan Nieder fb43bd1cd1 lockfile: remove unable_to_lock_error 8 years ago
Michael Haggerty 013870cd2c fdopen_lock_file(): access a lockfile using stdio 8 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 8 years ago