aboutsummaryrefslogtreecommitdiff
path: root/lockfile.c
Commit message (Expand)AuthorAge
* 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
| * 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 'sp/stream-clean-filter'Junio C Hamano2014-10-08
|\ \ | |/ |/|
| * copy_fd(): do not close the input file descriptorSteffen Prohaska2014-08-28
* | 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