summaryrefslogtreecommitdiff
path: root/refs
AgeCommit message (Expand)AuthorFilesLines
2017-06-12lock_packed_refs(): fix cache validity checkLibravatar Michael Haggerty1-9/+23
2017-05-24cache_ref_iterator_begin(): avoid priming unneeded directoriesLibravatar Michael Haggerty1-10/+85
2017-05-23create_ref_entry(): remove `check_name` optionLibravatar Michael Haggerty3-11/+10
2017-05-23refs_ref_iterator_begin(): handle `GIT_REF_PARANOIA`Libravatar Michael Haggerty1-7/+4
2017-05-23read_packed_refs(): report unexpected fopen() failuresLibravatar Michael Haggerty1-2/+12
2017-05-23read_packed_refs(): do more of the work of reading packed refsLibravatar Michael Haggerty2-17/+26
2017-05-23get_packed_ref_cache(): assume "packed-refs" won't change while lockedLibravatar Michael Haggerty1-5/+11
2017-05-23should_pack_ref(): new function, extracted from `files_pack_refs()`Libravatar Michael Haggerty1-14/+28
2017-05-23ref_update_reject_duplicates(): expose function to whole refs moduleLibravatar Michael Haggerty2-17/+8
2017-05-23ref_transaction_prepare(): new optional step for reference updatesLibravatar Michael Haggerty2-23/+85
2017-05-23ref_transaction_commit(): check for valid `transaction->state`Libravatar Michael Haggerty1-3/+0
2017-05-23files_transaction_cleanup(): new helper functionLibravatar Michael Haggerty1-9/+24
2017-05-23files_ref_store: put the packed files lock directly in this structLibravatar Michael Haggerty1-18/+11
2017-05-23files-backend: move `lock` member to `files_ref_store`Libravatar Michael Haggerty1-19/+17
2017-05-23ref_store: take a `msg` parameter when deleting referencesLibravatar Michael Haggerty2-3/+3
2017-05-23refs: use `size_t` indexes when iterating over ref transaction updatesLibravatar Michael Haggerty1-2/+4
2017-05-23prefix_ref_iterator: don't trim too muchLibravatar Michael Haggerty1-1/+17
2017-05-23files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`Libravatar Michael Haggerty1-4/+4
2017-05-23ref_iterator_begin_fn(): fix docstringLibravatar Michael Haggerty1-3/+4
2017-05-23Merge branch 'bc/object-id'Libravatar Junio C Hamano4-87/+79
2017-05-16Merge branch 'js/larger-timestamps'Libravatar Junio C Hamano1-4/+4
2017-05-16Merge branch 'nd/worktree-kill-parse-ref'Libravatar Junio C Hamano2-44/+4
2017-05-08object: convert parse_object* to take struct object_idLibravatar brian m. carlson1-1/+1
2017-05-08refs/files-backend: convert many internals to struct object_idLibravatar brian m. carlson3-72/+60
2017-05-08refs: convert struct ref_update to use struct object_idLibravatar brian m. carlson2-16/+17
2017-05-08reflog_expire: convert to struct object_idLibravatar brian m. carlson1-2/+5
2017-04-27timestamp_t: a new data type for timestampsLibravatar Johannes Schindelin1-2/+2
2017-04-26Merge branch 'mh/separate-ref-cache'Libravatar Junio C Hamano4-1082/+959
2017-04-24refs: kill set_worktree_head_symref()Libravatar Nguyễn Thái Ngọc Duy1-44/+0
2017-04-24refs: add REFS_STORE_ALL_CAPSLibravatar Nguyễn Thái Ngọc Duy1-0/+4
2017-04-23Merge branch 'rs/misc-cppcheck-fixes'Libravatar Junio C Hamano1-8/+12
2017-04-23PRItime: introduce a new "printf format" for timestampsLibravatar Johannes Schindelin1-1/+1
2017-04-23parse_timestamp(): specify explicitly where we parse timestampsLibravatar Johannes Schindelin1-1/+1
2017-04-17files_for_each_reflog_ent_reverse(): close stream and free strbuf on errorLibravatar René Scharfe1-8/+12
2017-04-16do_for_each_entry_in_dir(): delete functionLibravatar Michael Haggerty2-32/+0
2017-04-16files_pack_refs(): use reference iterationLibravatar Michael Haggerty1-83/+60
2017-04-16commit_packed_refs(): use reference iterationLibravatar Michael Haggerty1-21/+17
2017-04-16cache_ref_iterator_begin(): make function smarterLibravatar Michael Haggerty3-53/+56
2017-04-16get_loose_ref_cache(): new functionLibravatar Michael Haggerty1-2/+7
2017-04-16get_loose_ref_dir(): function renamed from get_loose_refs()Libravatar Michael Haggerty1-3/+3
2017-04-16do_for_each_entry_in_dir(): eliminate `offset` argumentLibravatar Michael Haggerty3-11/+10
2017-04-16refs: handle "refs/bisect/" in `loose_fill_ref_dir()`Libravatar Michael Haggerty2-16/+15
2017-04-16ref-cache: use a callback function to fill the cacheLibravatar Michael Haggerty3-13/+38
2017-04-16refs: record the ref_store in ref_cache, not ref_dirLibravatar Michael Haggerty3-11/+16
2017-04-16ref-cache: introduce a new type, ref_cacheLibravatar Michael Haggerty3-13/+46
2017-04-16refs: split `ref_cache` code into separate filesLibravatar Michael Haggerty3-733/+766
2017-04-16ref-cache: rename `remove_entry()` to `remove_entry_from_dir()`Libravatar Michael Haggerty1-2/+2
2017-04-16ref-cache: rename `find_ref()` to `find_ref_entry()`Libravatar Michael Haggerty1-3/+3
2017-04-16ref-cache: rename `add_ref()` to `add_ref_entry()`Libravatar Michael Haggerty1-4/+4
2017-04-16refs_verify_refname_available(): use function in more placesLibravatar Michael Haggerty1-160/+11