summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2014-10-07Merge branch 'jk/mbox-from-line' into maintLibravatar Junio C Hamano6-1/+66
2014-10-07completion: add --show-signature for log and showLibravatar David Aguilar1-0/+2
2014-10-07use skip_prefix() to avoid more magic numbersLibravatar René Scharfe10-75/+69
2014-10-07git-tag.txt: Add a missing hyphen to `-s`Libravatar Wieland Hoffmann1-1/+1
2014-10-07mailsplit: remove unnecessary unlink(2) callLibravatar René Scharfe1-1/+0
2014-10-07bundle: plug minor memory leak in is_tag_in_date_range()Libravatar René Scharfe1-7/+10
2014-10-01commit_packed_refs(): reimplement using fdopen_lock_file()Libravatar Michael Haggerty1-4/+1
2014-10-01dump_marks(): reimplement using fdopen_lock_file()Libravatar Michael Haggerty1-19/+2
2014-10-01fdopen_lock_file(): access a lockfile using stdioLibravatar Michael Haggerty3-16/+68
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