summaryrefslogtreecommitdiff
path: root/lockfile.c
AgeCommit message (Expand)AuthorFilesLines
2014-10-01lockfile: unlock file if lockfile permissions cannot be adjustedLibravatar Michael Haggerty1-0/+1
2014-10-01rollback_lock_file(): set fd to -1Libravatar Michael Haggerty1-2/+1
2014-10-01rollback_lock_file(): exit early if lock is not activeLibravatar Michael Haggerty1-6/+7
2014-10-01rollback_lock_file(): do not clear filename redundantlyLibravatar Michael Haggerty1-1/+1
2014-10-01close_lock_file(): exit (successfully) if file is already closedLibravatar Michael Haggerty1-1/+5
2014-10-01unable_to_lock_die(): rename function from unable_to_lock_index_die()Libravatar Michael Haggerty1-3/+3
2014-09-02Merge branch 'jc/reopen-lock-file'Libravatar Junio C Hamano1-0/+10
2014-08-28copy_fd(): do not close the input file descriptorLibravatar Steffen Prohaska1-0/+3
2014-07-21Merge branch 'rs/ref-transaction-0'Libravatar Junio C Hamano1-15/+24
2014-07-14lockfile: allow reopening a closed but still locked fileLibravatar Junio C Hamano1-0/+10
2014-07-14lockfile.c: make lock_file return a meaningful errno on failureiLibravatar Ronnie Sahlberg1-5/+12
2014-07-14lockfile.c: add a new public function unable_to_lock_messageLibravatar Ronnie Sahlberg1-10/+12
2014-06-13read-cache: relocate and unexport commit_locked_index()Libravatar Nguyễn Thái Ngọc Duy1-20/+0
2013-07-07lockfile: fix buffer overflow in path handlingLibravatar Michael Haggerty1-4/+6
2011-03-17Name make_*_path functions more accuratelyLibravatar Carlos Martín Nieto1-2/+2
2010-01-12lockfile: show absolute filename in unable_to_lock_messageLibravatar Matthieu Moy1-2/+3
2009-09-29git branch -D: give a better error message when lockfile creation failsLibravatar Miklos Vajna1-6/+20
2009-05-18Merge branch 'ar/unlink-err'Libravatar Junio C Hamano1-2/+2
2009-05-01Fix a bunch of pointer declarations (codestyle)Libravatar Felipe Contreras1-1/+1
2009-04-29replace direct calls to unlink(2) with unlink_or_warnLibravatar Alex Riesen1-2/+2
2009-03-04Make the 'lock file' exists error more informativeLibravatar John Tapsell1-2/+2
2009-02-19Merge branch 'maint'Libravatar Junio C Hamano1-1/+15
2009-02-19More friendly message when locking the index fails.Libravatar Matthieu Moy1-1/+15
2009-01-21refactor signal handling for cleanup functionsLibravatar Jeff King1-5/+1
2009-01-21chain kill signals for cleanup functionsLibravatar Jeff King1-6/+7
2008-12-21Make sure lockfiles are unlocked when dying on SIGPIPELibravatar Junio C Hamano1-0/+1
2008-10-19Enhance hold_lock_file_for_{update,append}() APILibravatar Junio C Hamano1-12/+17
2008-05-31rollback lock files on more signals than just SIGINTLibravatar Paolo Bonzini1-0/+3
2008-05-25Merge branch 'db/clone-in-c'Libravatar Junio C Hamano1-0/+28
2008-05-25Reset the signal being handledLibravatar Clemens Buchacher1-1/+1
2008-05-04Add a lockfile function to append to a fileLibravatar Daniel Barkalow1-0/+28
2008-01-16close_lock_file(): new function in the lockfile APILibravatar Brandon Casey1-8/+22
2007-11-26Use is_absolute_path() in diff-lib.c, lockfile.c, setup.c, trace.cLibravatar Steffen Prohaska1-1/+1
2007-11-14Close files opened by lock_file() before unlinking.Libravatar Johannes Schindelin1-7/+10
2007-07-27fully resolve symlinks when creating lockfilesLibravatar Bradford C. Smith1-14/+102
2007-07-25When locking in a symlinked repository, try to lock the original.Libravatar Junio C Hamano1-0/+13
2007-07-13lockfile.c: schedule remove_lock_file only once.Libravatar Sven Verdoolaege1-4/+4
2007-06-07War on whitespaceLibravatar Junio C Hamano1-1/+0
2007-04-21lockfile: record the primary process.Libravatar Junio C Hamano1-1/+5
2007-04-03git-read-tree --index-output=<file>Libravatar Junio C Hamano1-3/+8
2007-04-03_GIT_INDEX_OUTPUT: allow plumbing to output to an alternative index file.Libravatar Junio C Hamano1-0/+17
2007-01-06Print a more accurate error message when we fail to create a lock file.Libravatar Steven Grimm1-1/+1
2007-01-04Merge branch 'maint'Libravatar Junio C Hamano1-1/+6
2007-01-03Fix infinite loop when deleting multiple packed refs.Libravatar Junio C Hamano1-1/+6
2006-12-20simplify inclusion of system header files.Libravatar Junio C Hamano1-1/+0
2006-08-12Better error message when we are unable to lock the index fileLibravatar Junio C Hamano1-1/+9
2006-06-09shared repository - add a few missing calls to adjust_shared_perm().Libravatar Junio C Hamano1-5/+10
2006-06-06Make index file locking code reusable to others.Libravatar Junio C Hamano1-0/+57