summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2017-09-25Merge branch 'jk/write-in-full-fix'Libravatar Junio C Hamano1-5/+5
2017-09-24refs: pass NULL to refs_resolve_ref_unsafe() if hash is not neededLibravatar René Scharfe1-2/+1
2017-09-19Merge branch 'mh/packed-ref-transactions'Libravatar Junio C Hamano1-56/+158
2017-09-19Merge branch 'jk/incore-lockfile-removal'Libravatar Junio C Hamano1-28/+22
2017-09-19Merge branch 'nd/prune-in-worktree'Libravatar Junio C Hamano1-14/+45
2017-09-19Merge branch 'ma/split-symref-update-fix'Libravatar Junio C Hamano1-18/+44
2017-09-14ref_iterator: keep track of whether the iterator output is orderedLibravatar Michael Haggerty1-7/+9
2017-09-14convert less-trivial versions of "write_in_full() != len"Libravatar Jeff King1-1/+1
2017-09-14avoid "write_in_full(fd, buf, len) != len" patternLibravatar Jeff King1-4/+4
2017-09-10refs/files-backend: add `refname`, not "HEAD", to listLibravatar Martin Ågren1-3/+10
2017-09-10refs/files-backend: correct return value in lock_ref_for_updateLibravatar Martin Ågren1-1/+1
2017-09-10refs/files-backend: fix memory leak in lock_ref_for_updateLibravatar Martin Ågren1-11/+20
2017-09-10refs/files-backend: add longer-scoped copy of string to listLibravatar Martin Ågren1-4/+14
2017-09-09files_transaction_finish(): delete reflogs before referencesLibravatar Michael Haggerty1-14/+21
2017-09-09files_ref_store: use a transaction to update packed refsLibravatar Michael Haggerty1-31/+101
2017-09-09files_initial_transaction_commit(): use a transaction for packed refsLibravatar Michael Haggerty1-10/+19
2017-09-09prune_refs(): also free the linked listLibravatar Michael Haggerty1-4/+10
2017-09-09files_pack_refs(): use a reference transaction to write packed refsLibravatar Michael Haggerty1-7/+17
2017-09-09packed_delete_refs(): implement methodLibravatar Michael Haggerty1-1/+1
2017-09-06ref_lock: stop leaking lock_filesLibravatar Jeff King1-23/+16
2017-09-06tempfile: auto-allocate tempfiles on heapLibravatar Jeff King1-2/+2
2017-09-06lockfile: do not rollback lock on failed closeLibravatar Jeff King1-6/+7
2017-08-26Merge branch 'mh/ref-lock-entry'Libravatar Junio C Hamano1-2/+6
2017-08-24files-backend: make reflog iterator go through per-worktree reflogLibravatar Nguyễn Thái Ngọc Duy1-14/+45
2017-08-23refs: retry acquiring reference locks for 100msLibravatar Michael Haggerty1-2/+6
2017-08-22Merge branch 'mh/packed-ref-store'Libravatar Junio C Hamano1-564/+75
2017-08-17files-backend: cheapen refname_available check when locking refsLibravatar Michael Haggerty1-4/+4
2017-07-03repack_without_refs(): don't lock or unlock the packed refsLibravatar Michael Haggerty1-16/+31
2017-06-26Merge branch 'mh/packed-ref-store-prep'Libravatar Junio C Hamano1-9/+23
2017-06-24Merge branch 'ab/free-and-null'Libravatar Junio C Hamano1-2/+1
2017-06-24Merge branch 'bw/config-h'Libravatar Junio C Hamano1-0/+1
2017-06-23commit_packed_refs(): remove call to `packed_refs_unlock()`Libravatar Michael Haggerty1-0/+2
2017-06-23packed_refs_lock(): report errors via a `struct strbuf *err`Libravatar Michael Haggerty1-4/+2
2017-06-23packed_refs_lock(): function renamed from lock_packed_refs()Libravatar Michael Haggerty1-2/+2
2017-06-23commit_packed_refs(): report errors rather than dyingLibravatar Michael Haggerty1-5/+5
2017-06-23packed_ref_store: make class into a subclass of `ref_store`Libravatar Michael Haggerty1-8/+8
2017-06-23packed-backend: new module for handling packed referencesLibravatar Michael Haggerty1-639/+1
2017-06-23packed_read_raw_ref(): new function, replacing `resolve_packed_ref()`Libravatar Michael Haggerty1-19/+17
2017-06-23packed_ref_store: support iterationLibravatar Michael Haggerty1-9/+110
2017-06-23packed_peel_ref(): new function, extracted from `files_peel_ref()`Libravatar Michael Haggerty1-11/+15
2017-06-23repack_without_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-10/+10
2017-06-23get_packed_ref(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+7
2017-06-23rollback_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-8/+7
2017-06-23commit_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-9/+9
2017-06-23lock_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-9/+22
2017-06-23add_packed_ref(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+5
2017-06-23get_packed_refs(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-5/+5
2017-06-23get_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-14/+12
2017-06-23validate_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-7/+6
2017-06-23clear_packed_ref_cache(): take a `packed_ref_store *` parameterLibravatar Michael Haggerty1-8/+8