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(): 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

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

hold_lock_file_for_append(): release lock on errors

Michael Haggerty committed about 12 years ago

rollback_lock_file(): set fd to -1

Michael Haggerty committed about 12 years ago

rollback_lock_file(): exit early if lock is not active

Michael Haggerty committed about 12 years ago

rollback_lock_file(): do not clear filename redundantly

Michael Haggerty committed about 12 years ago

← Newer Page 2200 of 4093 Older →