summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2018-02-13Merge branch 'mr/packed-ref-store-fix'Libravatar Junio C Hamano1-2/+1
2018-01-19files_initial_transaction_commit(): only unlock if lockedLibravatar Mathias Rav1-2/+1
2017-12-06Merge branch 'mh/avoid-rewriting-packed-refs' into maintLibravatar Junio C Hamano1-1/+17
2017-11-15Merge branch 'mh/tidy-ref-update-flags'Libravatar Junio C Hamano1-38/+94
2017-11-15Merge branch 'mh/avoid-rewriting-packed-refs'Libravatar Junio C Hamano1-1/+17
2017-11-06Merge branch 'bc/object-id'Libravatar Junio C Hamano1-57/+55
2017-11-06refs: update some more docs to use "oid" rather than "sha1"Libravatar Michael Haggerty1-10/+9
2017-11-06refs: rename constant `REF_ISPRUNING` to `REF_IS_PRUNING`Libravatar Michael Haggerty1-9/+9
2017-11-06refs: rename constant `REF_NODEREF` to `REF_NO_DEREF`Libravatar Michael Haggerty1-20/+20
2017-11-06refs: tidy up and adjust visibility of the `ref_update` flagsLibravatar Michael Haggerty1-0/+45
2017-11-06ref_transaction_add_update(): remove a checkLibravatar Michael Haggerty1-1/+6
2017-11-06prune_ref(): call `ref_transaction_add_update()` directlyLibravatar Michael Haggerty1-9/+16
2017-11-06files_transaction_prepare(): don't leak flags to packed transactionLibravatar Michael Haggerty1-2/+2
2017-10-30files-backend: don't rewrite the `packed-refs` file unnecessarilyLibravatar Michael Haggerty1-1/+17
2017-10-28Merge branch 'bc/object-id' into baseLibravatar Michael Haggerty1-57/+55
2017-10-26Merge branch 'mh/ref-locking-fix'Libravatar Junio C Hamano1-1/+1
2017-10-25files_transaction_prepare(): fix handling of ref lock failureLibravatar Michael Haggerty1-1/+1
2017-10-16refs/files-backend: convert static functions to object_idLibravatar brian m. carlson1-28/+28
2017-10-16refs: convert read_raw_ref backends to struct object_idLibravatar brian m. carlson1-6/+7
2017-10-16refs: convert resolve_ref_unsafe to struct object_idLibravatar brian m. carlson1-4/+4
2017-10-16refs: convert reflog_expire parameter to struct object_idLibravatar brian m. carlson1-6/+3
2017-10-16refs: convert read_ref and read_ref_full to object_idLibravatar brian m. carlson1-5/+5
2017-10-16refs: update ref transactions to use struct object_idLibravatar brian m. carlson1-6/+6
2017-10-16refs: convert delete_ref and refs_delete_ref to struct object_idLibravatar brian m. carlson1-1/+1
2017-10-16refs/files-backend: convert struct ref_to_prune to object_idLibravatar brian m. carlson1-3/+3
2017-10-05Merge branch 'rs/resolve-ref-optional-result'Libravatar Junio C Hamano1-2/+1
2017-10-03Merge branch 'mh/mmap-packed-refs'Libravatar Junio C Hamano1-45/+10
2017-10-03Merge branch 'jk/read-in-full'Libravatar Junio C Hamano1-1/+1
2017-10-03Merge branch 'sd/branch-copy'Libravatar Junio C Hamano1-8/+38
2017-10-01refs: pass NULL to refs_resolve_refdup() if hash is not neededLibravatar René Scharfe1-2/+1
2017-09-28Merge branch 'rs/resolve-ref-optional-result'Libravatar Junio C Hamano1-2/+1
2017-09-26files-backend: prefer "0" for write_in_full() error checkLibravatar Jeff King1-1/+1
2017-09-25ref_store: implement `refs_peel_ref()` genericallyLibravatar Michael Haggerty1-38/+0
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