lockfile: change lock_file::filename into a strbuf
Michael Haggerty committed about 12 years ago
commit_lock_file(): use a strbuf to manage temporary space
Michael Haggerty committed about 12 years ago
try_merge_strategy(): use a statically-allocated lock_file object
Michael Haggerty committed about 12 years ago
try_merge_strategy(): remove redundant lock_file allocation
Michael Haggerty committed about 12 years ago
struct lock_file: declare some fields volatile
Michael Haggerty committed about 12 years ago
lockfile: avoid transitory invalid states
Michael Haggerty committed about 12 years ago
git_config_set_multivar_in_file(): avoid call to rollback_lock_file()
Michael Haggerty committed about 12 years ago
dump_marks(): remove a redundant call to rollback_lock_file()
Michael Haggerty committed about 12 years ago
api-lockfile: document edge cases
Michael Haggerty committed about 12 years ago
commit_lock_file(): rollback lock file on failure to rename
Michael Haggerty committed about 12 years ago
close_lock_file(): if close fails, roll back
Michael Haggerty committed about 12 years ago
commit_lock_file(): die() if called for unlocked lockfile object
Michael Haggerty committed about 12 years ago
commit_lock_file(): inline temporary variable
Michael Haggerty committed about 12 years ago
remove_lock_file(): call rollback_lock_file()
Michael Haggerty committed about 12 years ago
lock_file(): exit early if lockfile cannot be opened
Michael Haggerty committed about 12 years ago
prepare_index(): declare return value to be (const char *)
Michael Haggerty committed about 12 years ago
delete_ref_loose(): don't muck around in the lock_file's filename
Michael Haggerty committed about 12 years ago
cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LEN
Michael Haggerty committed about 12 years ago
lockfile.c: document the various states of lock_file objects
Michael Haggerty committed about 12 years ago
lock_file(): always initialize and register lock_file object
Michael Haggerty committed about 12 years ago