summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* hold_locked_index(): move from lockfile.c to read-cache.cMichael Haggerty2014-10-012-8/+8
* hold_lock_file_for_append(): restore errno before returningMichael Haggerty2014-10-011-1/+8
* get_locked_file_path(): new functionMichael Haggerty2014-10-014-3/+16
* lockfile.c: rename static functionsMichael Haggerty2014-10-011-5/+5
* lockfile: rename LOCK_NODEREF to LOCK_NO_DEREFMichael Haggerty2014-10-014-5/+5
* commit_lock_file_to(): refactor a helper out of commit_lock_file()Michael Haggerty2014-10-014-38/+50
* trim_last_path_component(): replace last_path_elm()Michael Haggerty2014-10-011-22/+16
* resolve_symlink(): take a strbuf parameterMichael Haggerty2014-10-011-35/+22
* resolve_symlink(): use a strbuf for internal scratch spaceMichael Haggerty2014-10-011-21/+12
* lockfile: change lock_file::filename into a strbufMichael Haggerty2014-10-018-52/+47
* commit_lock_file(): use a strbuf to manage temporary spaceMichael Haggerty2014-10-011-5/+7
* try_merge_strategy(): use a statically-allocated lock_file objectMichael Haggerty2014-10-011-7/+7
* try_merge_strategy(): remove redundant lock_file allocationMichael Haggerty2014-10-011-1/+0
* struct lock_file: declare some fields volatileMichael Haggerty2014-10-012-4/+4
* lockfile: avoid transitory invalid statesMichael Haggerty2014-10-013-11/+28
* git_config_set_multivar_in_file(): avoid call to rollback_lock_file()Michael Haggerty2014-10-011-0/+1
* dump_marks(): remove a redundant call to rollback_lock_file()Michael Haggerty2014-10-011-3/+1
* api-lockfile: document edge casesMichael Haggerty2014-10-011-6/+14
* commit_lock_file(): rollback lock file on failure to renameMichael Haggerty2014-10-011-1/+6
* close_lock_file(): if close fails, roll backMichael Haggerty2014-10-012-13/+22
* commit_lock_file(): die() if called for unlocked lockfile objectMichael Haggerty2014-10-012-1/+5
* commit_lock_file(): inline temporary variableMichael Haggerty2014-10-011-3/+5
* remove_lock_file(): call rollback_lock_file()Michael Haggerty2014-10-011-6/+2
* lock_file(): exit early if lockfile cannot be openedMichael Haggerty2014-10-011-12/+11
* prepare_index(): declare return value to be (const char *)Michael Haggerty2014-10-011-2/+2
* delete_ref_loose(): don't muck around in the lock_file's filenameMichael Haggerty2014-10-011-6/+9
* cache.h: define constants LOCK_SUFFIX and LOCK_SUFFIX_LENMichael Haggerty2014-10-013-8/+14
* lockfile.c: document the various states of lock_file objectsMichael Haggerty2014-10-011-0/+42
* lock_file(): always initialize and register lock_file objectMichael Haggerty2014-10-011-9/+16
* hold_lock_file_for_append(): release lock on errorsMichael Haggerty2014-10-011-2/+2
* lockfile: unlock file if lockfile permissions cannot be adjustedMichael Haggerty2014-10-011-0/+1
* rollback_lock_file(): set fd to -1Michael Haggerty2014-10-011-2/+1
* rollback_lock_file(): exit early if lock is not activeMichael Haggerty2014-10-011-6/+7
* rollback_lock_file(): do not clear filename redundantlyMichael Haggerty2014-10-011-1/+1
* close_lock_file(): exit (successfully) if file is already closedMichael Haggerty2014-10-012-2/+6
* api-lockfile: revise and expand the documentationMichael Haggerty2014-10-011-54/+167
* unable_to_lock_die(): rename function from unable_to_lock_index_die()Michael Haggerty2014-10-014-6/+6
* Sync with 2.1.2Junio C Hamano2014-09-292-1/+22
|\
| * Git 2.1.2v2.1.2Junio C Hamano2014-09-294-3/+24
| * Merge branch 'jk/fsck-exit-code-fix' into maintJunio C Hamano2014-09-293-9/+87
| |\
| * \ Merge branch 'ta/config-add-to-empty-or-true-fix' into maintJunio C Hamano2014-09-294-7/+41
| |\ \
| * \ \ Merge branch 'mk/reachable-protect-detached-head' into maintJunio C Hamano2014-09-292-0/+25
| |\ \ \
| * \ \ \ Merge branch 'mb/fast-import-delete-root' into maintJunio C Hamano2014-09-292-1/+109
| |\ \ \ \
| * \ \ \ \ Merge branch 'jk/index-pack-threading-races' into maintJunio C Hamano2014-09-291-2/+31
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'jk/send-pack-many-refspecs' into maintJunio C Hamano2014-09-295-2/+153
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'so/rebase-doc' into maintJunio C Hamano2014-09-291-6/+3
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ Merge branch 'jt/itimer-autoconf'Junio C Hamano2014-09-292-1/+15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | autoconf: check for setitimer()jt/itimer-autoconfJonas 'Sortie' Termansen2014-08-291-0/+6
| * | | | | | | | | autoconf: check for struct itimervalJonas 'Sortie' Termansen2014-08-291-0/+8
| * | | | | | | | | git-compat-util.h: add missing semicolon after struct itimervalJonas 'Sortie' Termansen2014-08-291-1/+1