summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cLibravatar Michael Haggerty35-83/+118
2014-10-01hold_locked_index(): move from lockfile.c to read-cache.cLibravatar Michael Haggerty2-8/+8
2014-10-01hold_lock_file_for_append(): restore errno before returningLibravatar Michael Haggerty1-1/+8
2014-10-01get_locked_file_path(): new functionLibravatar Michael Haggerty4-3/+16
2014-10-01lockfile.c: rename static functionsLibravatar Michael Haggerty1-5/+5
2014-10-01lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFLibravatar Michael Haggerty4-5/+5
2014-10-01commit_lock_file_to(): refactor a helper out of commit_lock_file()Libravatar Michael Haggerty4-38/+50
2014-10-01trim_last_path_component(): replace last_path_elm()Libravatar Michael Haggerty1-22/+16
2014-10-01resolve_symlink(): take a strbuf parameterLibravatar Michael Haggerty1-35/+22
2014-10-01resolve_symlink(): use a strbuf for internal scratch spaceLibravatar Michael Haggerty1-21/+12
2014-10-01lockfile: change lock_file::filename into a strbufLibravatar Michael Haggerty8-52/+47
2014-10-01commit_lock_file(): use a strbuf to manage temporary spaceLibravatar Michael Haggerty1-5/+7
2014-10-01try_merge_strategy(): use a statically-allocated lock_file objectLibravatar Michael Haggerty1-7/+7
2014-10-01try_merge_strategy(): remove redundant lock_file allocationLibravatar Michael Haggerty1-1/+0
2014-10-01struct lock_file: declare some fields volatileLibravatar Michael Haggerty2-4/+4
2014-10-01lockfile: avoid transitory invalid statesLibravatar Michael Haggerty3-11/+28
2014-10-01git_config_set_multivar_in_file(): avoid call to rollback_lock_file()Libravatar Michael Haggerty1-0/+1
2014-10-01dump_marks(): remove a redundant call to rollback_lock_file()Libravatar Michael Haggerty1-3/+1
2014-10-01api-lockfile: document edge casesLibravatar Michael Haggerty1-6/+14
2014-10-01commit_lock_file(): rollback lock file on failure to renameLibravatar Michael Haggerty1-1/+6
2014-10-01close_lock_file(): if close fails, roll backLibravatar Michael Haggerty2-13/+22
2014-10-01commit_lock_file(): die() if called for unlocked lockfile objectLibravatar Michael Haggerty2-1/+5
2014-10-01commit_lock_file(): inline temporary variableLibravatar Michael Haggerty1-3/+5
2014-10-01remove_lock_file(): call rollback_lock_file()Libravatar Michael Haggerty1-6/+2
2014-10-01lock_file(): exit early if lockfile cannot be openedLibravatar Michael Haggerty1-12/+11
2014-10-01prepare_index(): declare return value to be (const char *)Libravatar Michael Haggerty1-2/+2
2014-10-01delete_ref_loose(): don't muck around in the lock_file's filenameLibravatar Michael Haggerty1-6/+9
2014-10-01cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENLibravatar Michael Haggerty3-8/+14
2014-10-01lockfile.c: document the various states of lock_file objectsLibravatar Michael Haggerty1-0/+42
2014-10-01lock_file(): always initialize and register lock_file objectLibravatar Michael Haggerty1-9/+16
2014-10-01hold_lock_file_for_append(): release lock on errorsLibravatar Michael Haggerty1-2/+2
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 Haggerty2-2/+6
2014-10-01api-lockfile: revise and expand the documentationLibravatar Michael Haggerty1-54/+167
2014-10-01unable_to_lock_die(): rename function from unable_to_lock_index_die()Libravatar Michael Haggerty4-6/+6
2014-10-01daemon: remove write-only variable maxfdLibravatar René Scharfe1-4/+0
2014-10-01daemon: fix error message after bind()Libravatar René Scharfe1-1/+1
2014-10-01daemon: handle gethostbyname() errorLibravatar René Scharfe1-13/+14
2014-10-01sha1-lookup: handle duplicates in sha1_pos()Libravatar René Scharfe2-2/+20
2014-10-01sha1-array: add test-sha1-array and basic testsLibravatar René Scharfe4-0/+110
2014-09-30t0090: avoid passing empty string to printf %dLibravatar René Scharfe1-1/+1
2014-09-29Sync with 2.1.2Libravatar Junio C Hamano2-1/+22
2014-09-29Merge branch 'jt/itimer-autoconf'Libravatar Junio C Hamano2-1/+15
2014-09-29Merge branch 'jc/test-lazy-prereq'Libravatar Junio C Hamano2-4/+0
2014-09-29Merge branch 'sb/merge-recursive-copy-paste-fix'Libravatar Junio C Hamano1-5/+1
2014-09-29Merge branch 'pr/use-default-sigpipe-setting'Libravatar Junio C Hamano3-1/+50
2014-09-29Git 2.1.2Libravatar Junio C Hamano4-3/+24