aboutsummaryrefslogtreecommitdiffstats
path: root/refs (follow)
AgeCommit message (Expand)AuthorFilesLines
2017-09-09packed_delete_refs(): implement methodMichael Haggerty2-2/+45
2017-09-09packed_ref_store: implement reference transactionsMichael Haggerty2-3/+319
2017-09-09struct ref_transaction: add a place for backends to store dataMichael Haggerty1-0/+1
2017-09-09packed-backend: don't adjust the reference count on lock/unlockMichael Haggerty1-5/+5
2017-09-06ref_lock: stop leaking lock_filesJeff King1-23/+16
2017-09-06tempfile: auto-allocate tempfiles on heapJeff King2-7/+8
2017-09-06lockfile: do not rollback lock on failed closeJeff King2-7/+9
2017-08-26Merge branch 'mh/ref-lock-entry'Junio C Hamano2-2/+12
2017-08-24files-backend: make reflog iterator go through per-worktree reflogNguyễn Thái Ngọc Duy1-14/+45
2017-08-23refs: retry acquiring reference locks for 100msMichael Haggerty2-2/+12
2017-08-22Merge branch 'mh/packed-ref-store'Junio C Hamano4-564/+995
2017-08-17files-backend: cheapen refname_available check when locking refsMichael Haggerty1-4/+4
2017-07-27packed_ref_store: handle a packed-refs file that is a symlinkMichael Haggerty1-6/+18
2017-07-03read_packed_refs(): die if `packed-refs` contains bogus dataMichael Haggerty1-3/+7
2017-07-03repack_without_refs(): don't lock or unlock the packed refsMichael Haggerty2-40/+39
2017-06-26Merge branch 'mh/packed-ref-store-prep'Junio C Hamano1-9/+23
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano2-4/+2
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-23commit_packed_refs(): remove call to `packed_refs_unlock()`Michael Haggerty2-10/+10
2017-06-23clear_packed_ref_cache(): don't protest if the lock is heldMichael Haggerty1-2/+0
2017-06-23packed_refs_unlock(), packed_refs_is_locked(): new functionsMichael Haggerty2-6/+28
2017-06-23packed_refs_lock(): report errors via a `struct strbuf *err`Michael Haggerty3-13/+16
2017-06-23packed_refs_lock(): function renamed from lock_packed_refs()Michael Haggerty3-8/+8
2017-06-23commit_packed_refs(): use a staging file separate from the lockfileMichael Haggerty1-8/+32
2017-06-23commit_packed_refs(): report errors rather than dyingMichael Haggerty3-36/+61
2017-06-23packed_ref_store: make class into a subclass of `ref_store`Michael Haggerty4-45/+227
2017-06-23packed-backend: new module for handling packed referencesMichael Haggerty4-639/+666
2017-06-23packed_read_raw_ref(): new function, replacing `resolve_packed_ref()`Michael Haggerty1-19/+17
2017-06-23packed_ref_store: support iterationMichael Haggerty1-9/+110
2017-06-23packed_peel_ref(): new function, extracted from `files_peel_ref()`Michael Haggerty1-11/+15
2017-06-23repack_without_refs(): take a `packed_ref_store *` parameterMichael Haggerty1-10/+10
2017-06-23get_packed_ref(): take a `packed_ref_store *` parameterMichael Haggerty1-5/+7
2017-06-23rollback_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty1-8/+7
2017-06-23commit_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty1-9/+9
2017-06-23lock_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty1-9/+22
2017-06-23add_packed_ref(): take a `packed_ref_store *` parameterMichael Haggerty1-5/+5
2017-06-23get_packed_refs(): take a `packed_ref_store *` parameterMichael Haggerty1-5/+5
2017-06-23get_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty1-14/+12
2017-06-23validate_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty1-7/+6
2017-06-23clear_packed_ref_cache(): take a `packed_ref_store *` parameterMichael Haggerty1-8/+8
2017-06-23packed_ref_store: move `packed_refs_lock` member hereMichael Haggerty1-15/+16
2017-06-23packed_ref_store: move `packed_refs_path` hereMichael Haggerty1-13/+12
2017-06-23packed_ref_store: new structMichael Haggerty1-9/+33
2017-06-23add_packed_ref(): teach function to overwrite existing refsMichael Haggerty1-22/+18
2017-06-18branch: add a --copy (-c) option to go with --move (-m)Sahil Dua2-8/+42
2017-06-16*.[ch] refactoring: make use of the FREE_AND_NULL() macroÆvar Arnfjörð Bjarmason1-2/+1
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleÆvar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-12lock_packed_refs(): fix cache validity checkMichael Haggerty1-9/+23
2017-05-24cache_ref_iterator_begin(): avoid priming unneeded directoriesMichael Haggerty1-10/+85