summaryrefslogtreecommitdiff
path: root/lockfile.c
AgeCommit message (Expand)Author
2014-11-03lockfile.c: store absolute pathNguyễn Thái Ngọc Duy
2014-10-15lockfile: remove unable_to_lock_errorJonathan Nieder
2014-10-14Merge branch 'mh/lockfile-stdio'Junio C Hamano
2014-10-14Merge branch 'mh/lockfile'Junio C Hamano
2014-10-08Merge branch 'sp/stream-clean-filter'Junio C Hamano
2014-10-01fdopen_lock_file(): access a lockfile using stdioMichael Haggerty
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty
2014-10-01hold_locked_index(): move from lockfile.c to read-cache.cMichael Haggerty
2014-10-01hold_lock_file_for_append(): restore errno before returningMichael Haggerty
2014-10-01get_locked_file_path(): new functionMichael Haggerty
2014-10-01lockfile.c: rename static functionsMichael Haggerty
2014-10-01lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty
2014-10-01commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty
2014-10-01trim_last_path_component(): replace last_path_elm()Michael Haggerty
2014-10-01resolve_symlink(): take a strbuf parameterMichael Haggerty
2014-10-01resolve_symlink(): use a strbuf for internal scratch spaceMichael Haggerty
2014-10-01lockfile: change lock_file::filename into a strbufMichael Haggerty
2014-10-01commit_lock_file(): use a strbuf to manage temporary spaceMichael Haggerty
2014-10-01struct lock_file: declare some fields volatileMichael Haggerty
2014-10-01lockfile: avoid transitory invalid statesMichael Haggerty
2014-10-01commit_lock_file(): rollback lock file on failure to renameMichael Haggerty
2014-10-01close_lock_file(): if close fails, roll backMichael Haggerty
2014-10-01commit_lock_file(): die() if called for unlocked lockfile objectMichael Haggerty
2014-10-01commit_lock_file(): inline temporary variableMichael Haggerty
2014-10-01remove_lock_file(): call rollback_lock_file()Michael Haggerty
2014-10-01lock_file(): exit early if lockfile cannot be openedMichael Haggerty
2014-10-01cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENMichael Haggerty
2014-10-01lockfile.c: document the various states of lock_file objectsMichael Haggerty
2014-10-01lock_file(): always initialize and register lock_file objectMichael Haggerty
2014-10-01hold_lock_file_for_append(): release lock on errorsMichael Haggerty
2014-10-01lockfile: unlock file if lockfile permissions cannot be adjustedMichael Haggerty
2014-10-01rollback_lock_file(): set fd to -1Michael Haggerty
2014-10-01rollback_lock_file(): exit early if lock is not activeMichael Haggerty
2014-10-01rollback_lock_file(): do not clear filename redundantlyMichael Haggerty
2014-10-01close_lock_file(): exit (successfully) if file is already closedMichael Haggerty
2014-10-01unable_to_lock_die(): rename function from unable_to_lock_index_die()Michael Haggerty
2014-09-02Merge branch 'jc/reopen-lock-file'Junio C Hamano
2014-08-28copy_fd(): do not close the input file descriptorSteffen Prohaska
2014-07-21Merge branch 'rs/ref-transaction-0'Junio C Hamano
2014-07-14lockfile: allow reopening a closed but still locked fileJunio C Hamano
2014-07-14lockfile.c: make lock_file return a meaningful errno on failureiRonnie Sahlberg
2014-07-14lockfile.c: add a new public function unable_to_lock_messageRonnie Sahlberg
2014-06-13read-cache: relocate and unexport commit_locked_index()Nguyễn Thái Ngọc Duy
2013-07-07lockfile: fix buffer overflow in path handlingMichael Haggerty
2011-03-17Name make_*_path functions more accuratelyCarlos Martín Nieto
2010-01-12lockfile: show absolute filename in unable_to_lock_messageMatthieu Moy
2009-09-29git branch -D: give a better error message when lockfile creation failsMiklos Vajna
2009-05-18Merge branch 'ar/unlink-err'Junio C Hamano
2009-05-01Fix a bunch of pointer declarations (codestyle)Felipe Contreras
2009-04-30replace direct calls to unlink(2) with unlink_or_warnAlex Riesen