aboutsummaryrefslogtreecommitdiff
path: root/lockfile.c
Commit message (Expand)AuthorAge
* 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
* rollback_lock_file(): do not clear filename redundantlyMichael Haggerty2014-10-01
* close_lock_file(): exit (successfully) if file is already closedMichael Haggerty2014-10-01
* unable_to_lock_die(): rename function from unable_to_lock_index_die()Michael Haggerty2014-10-01
* Merge branch 'jc/reopen-lock-file'Junio C Hamano2014-09-02
|\
| * lockfile: allow reopening a closed but still locked fileJunio C Hamano2014-07-14
* | Merge branch 'rs/ref-transaction-0'Junio C Hamano2014-07-21
|\ \ | |/ |/|
| * lockfile.c: make lock_file return a meaningful errno on failureiRonnie Sahlberg2014-07-14
| * lockfile.c: add a new public function unable_to_lock_messageRonnie Sahlberg2014-07-14
* | read-cache: relocate and unexport commit_locked_index()Nguyễn Thái Ngọc Duy2014-06-13
|/
* lockfile: fix buffer overflow in path handlingMichael Haggerty2013-07-07
* Name make_*_path functions more accuratelyCarlos Martín Nieto2011-03-17
* lockfile: show absolute filename in unable_to_lock_messageMatthieu Moy2010-01-12
* git branch -D: give a better error message when lockfile creation failsMiklos Vajna2009-09-29
* Merge branch 'ar/unlink-err'Junio C Hamano2009-05-18
|\
| * replace direct calls to unlink(2) with unlink_or_warnAlex Riesen2009-04-29
* | Fix a bunch of pointer declarations (codestyle)Felipe Contreras2009-05-01
|/
* Make the 'lock file' exists error more informativeJohn Tapsell2009-03-04
* Merge branch 'maint'Junio C Hamano2009-02-19
|\
| * More friendly message when locking the index fails.Matthieu Moy2009-02-19
* | refactor signal handling for cleanup functionsJeff King2009-01-21
* | chain kill signals for cleanup functionsJeff King2009-01-21
|/
* Make sure lockfiles are unlocked when dying on SIGPIPEJunio C Hamano2008-12-21
* Enhance hold_lock_file_for_{update,append}() APIJunio C Hamano2008-10-19
* rollback lock files on more signals than just SIGINTPaolo Bonzini2008-05-31