summaryrefslogtreecommitdiffstats
path: root/lockfile.c
AgeCommit message (Expand)AuthorLines
2026-02-17Merge branch 'pc/lockfile-pid'Junio C Hamano-14/+154
2026-01-22lockfile: add PID file for debugging stale locksPaulo Casaretto-14/+154
2026-01-09trim_last_path_component(): avoid hard-coding the directory separatorKarsten Blees-2/+2
2023-03-21treewide: remove unnecessary includes of cache.hElijah Newren-1/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren-0/+1
2020-04-27lockfile.c: introduce 'hold_lock_file_for_update_mode'Taylor Blau-8/+10
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin-1/+1
2017-09-06tempfile: auto-allocate tempfiles on heapJeff King-4/+3
2016-12-07lockfile: LOCK_REPORT_ON_ERRORJunio C Hamano-2/+10
2016-03-01lockfile: improve error message when lockfile existsMatthieu Moy-3/+5
2016-03-01lockfile: mark strings for translationMatthieu Moy-3/+3
2015-08-28lockfile: remove function "hold_lock_file_for_append"Ralf Thielow-38/+0
2015-08-25Merge branch 'mh/tempfile'Junio C Hamano-182/+23
2015-08-10tempfile: a new module for handling temporary filesMichael Haggerty-245/+16
2015-08-10commit_lock_file(): use get_locked_file_path()Michael Haggerty-16/+12
2015-08-10lockfile: add accessor get_lock_file_path()Michael Haggerty-0/+7
2015-08-10lockfile: add accessors get_lock_file_fd() and get_lock_file_fp()Michael Haggerty-0/+14
2015-08-10lockfile: move documentation to lockfile.h and lockfile.cMichael Haggerty-0/+53
2015-06-24Merge branch 'js/sleep-without-select'Junio C Hamano-22/+9
2015-06-05lockfile: wait using sleep_millisec() instead of select()Johannes Sixt-9/+1
2015-06-05lockfile: convert retry timeout computations to millisecondJohannes Sixt-13/+8
2015-06-05lockfile: replace random() by rand()Johannes Sixt-2/+2
2015-05-22Merge branch 'jc/ignore-epipe-in-filter'Junio C Hamano-1/+1
2015-05-19copy.c: make copy_fd() report its status silentlyJunio C Hamano-1/+1
2015-05-14lockfile: allow file locking to be retried with a timeoutMichael Haggerty-2/+77
2014-11-03lockfile.c: store absolute pathNguyễn Thái Ngọc Duy-3/+11
2014-10-15lockfile: remove unable_to_lock_errorJonathan Nieder-10/+0
2014-10-14Merge branch 'mh/lockfile-stdio'Junio C Hamano-5/+41
2014-10-14Merge branch 'mh/lockfile'Junio C Hamano-131/+153
2014-10-08Merge branch 'sp/stream-clean-filter'Junio C Hamano-0/+3
2014-10-01fdopen_lock_file(): access a lockfile using stdioMichael Haggerty-5/+41
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty-51/+1
2014-10-01hold_locked_index(): move from lockfile.c to read-cache.cMichael Haggerty-8/+0
2014-10-01hold_lock_file_for_append(): restore errno before returningMichael Haggerty-1/+8
2014-10-01get_locked_file_path(): new functionMichael Haggerty-0/+9
2014-10-01lockfile.c: rename static functionsMichael Haggerty-5/+5
2014-10-01lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty-1/+1
2014-10-01commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty-14/+26
2014-10-01trim_last_path_component(): replace last_path_elm()Michael Haggerty-22/+16
2014-10-01resolve_symlink(): take a strbuf parameterMichael Haggerty-35/+22
2014-10-01resolve_symlink(): use a strbuf for internal scratch spaceMichael Haggerty-21/+12
2014-10-01lockfile: change lock_file::filename into a strbufMichael Haggerty-29/+24
2014-10-01commit_lock_file(): use a strbuf to manage temporary spaceMichael Haggerty-5/+7
2014-10-01struct lock_file: declare some fields volatileMichael Haggerty-1/+1
2014-10-01lockfile: avoid transitory invalid statesMichael Haggerty-11/+26
2014-10-01commit_lock_file(): rollback lock file on failure to renameMichael Haggerty-1/+6
2014-10-01close_lock_file(): if close fails, roll backMichael Haggerty-10/+18
2014-10-01commit_lock_file(): die() if called for unlocked lockfile objectMichael Haggerty-0/+3
2014-10-01commit_lock_file(): inline temporary variableMichael Haggerty-3/+5