aboutsummaryrefslogtreecommitdiff
path: root/lockfile.c
Commit message (Expand)AuthorAge
* tempfile: auto-allocate tempfiles on heapJeff King2017-09-06
* lockfile: LOCK_REPORT_ON_ERRORJunio C Hamano2016-12-07
* lockfile: improve error message when lockfile existsMatthieu Moy2016-03-01
* lockfile: mark strings for translationMatthieu Moy2016-03-01
* lockfile: remove function "hold_lock_file_for_append"Ralf Thielow2015-08-28
* Merge branch 'mh/tempfile'Junio C Hamano2015-08-25
|\
| * tempfile: a new module for handling temporary filesMichael Haggerty2015-08-10
| * commit_lock_file(): use get_locked_file_path()Michael Haggerty2015-08-10
| * lockfile: add accessor get_lock_file_path()Michael Haggerty2015-08-10
| * lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()Michael Haggerty2015-08-10
| * lockfile: move documentation to lockfile.h and lockfile.cMichael Haggerty2015-08-10
* | Merge branch 'js/sleep-without-select'Junio C Hamano2015-06-24
|\ \ | |/ |/|
| * lockfile: wait using sleep_millisec() instead of select()Johannes Sixt2015-06-05
| * lockfile: convert retry timeout computations to millisecondJohannes Sixt2015-06-05
| * lockfile: replace random() by rand()Johannes Sixt2015-06-05
* | Merge branch 'jc/ignore-epipe-in-filter'Junio C Hamano2015-05-22
|\ \ | |/ |/|
| * copy.c: make copy_fd() report its status silentlyJunio C Hamano2015-05-19
* | lockfile: allow file locking to be retried with a timeoutMichael Haggerty2015-05-14
* | lockfile.c: store absolute pathNguyễn Thái Ngọc Duy2014-11-03
|/
* lockfile: remove unable_to_lock_errorJonathan Nieder2014-10-15
* Merge branch 'mh/lockfile-stdio'Junio C Hamano2014-10-14
|\
| * fdopen_lock_file(): access a lockfile using stdioMichael Haggerty2014-10-01
* | Merge branch 'mh/lockfile'Junio C Hamano2014-10-14
|\ \ | |/
| * lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty2014-10-01
| * hold_locked_index(): move from lockfile.c to read-cache.cMichael Haggerty2014-10-01
| * hold_lock_file_for_append(): restore errno before returningMichael Haggerty2014-10-01
| * get_locked_file_path(): new functionMichael Haggerty2014-10-01
| * lockfile.c: rename static functionsMichael Haggerty2014-10-01
| * lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty2014-10-01
| * commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty2014-10-01
| * trim_last_path_component(): replace last_path_elm()Michael Haggerty2014-10-01
| * resolve_symlink(): take a strbuf parameterMichael Haggerty2014-10-01
| * resolve_symlink(): use a strbuf for internal scratch spaceMichael Haggerty2014-10-01
| * lockfile: change lock_file::filename into a strbufMichael Haggerty2014-10-01
| * commit_lock_file(): use a strbuf to manage temporary spaceMichael Haggerty2014-10-01
| * struct lock_file: declare some fields volatileMichael Haggerty2014-10-01
| * lockfile: avoid transitory invalid statesMichael Haggerty2014-10-01
| * commit_lock_file(): rollback lock file on failure to renameMichael Haggerty2014-10-01
| * close_lock_file(): if close fails, roll backMichael Haggerty2014-10-01
| * commit_lock_file(): die() if called for unlocked lockfile objectMichael Haggerty2014-10-01
| * commit_lock_file(): inline temporary variableMichael Haggerty2014-10-01
| * remove_lock_file(): call rollback_lock_file()Michael Haggerty2014-10-01
| * lock_file(): exit early if lockfile cannot be openedMichael Haggerty2014-10-01
| * cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENMichael Haggerty2014-10-01
| * lockfile.c: document the various states of lock_file objectsMichael Haggerty2014-10-01
| * lock_file(): always initialize and register lock_file objectMichael Haggerty2014-10-01
| * hold_lock_file_for_append(): release lock on errorsMichael Haggerty2014-10-01
| * lockfile: unlock file if lockfile permissions cannot be adjustedMichael Haggerty2014-10-01
| * rollback_lock_file(): set fd to -1Michael Haggerty2014-10-01
| * rollback_lock_file(): exit early if lock is not activeMichael Haggerty2014-10-01