summaryrefslogtreecommitdiff
path: root/refs/files-backend.c
AgeCommit message (Expand)AuthorFilesLines
2017-06-23add_packed_ref(): teach function to overwrite existing refsLibravatar Michael Haggerty1-22/+18
2017-06-18branch: add a --copy (-c) option to go with --move (-m)Libravatar Sahil Dua1-8/+38
2017-06-16coccinelle: make use of the "type" FREE_AND_NULL() ruleLibravatar Ævar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultLibravatar Brandon Williams1-0/+1
2017-06-12lock_packed_refs(): fix cache validity checkLibravatar Michael Haggerty1-9/+23
2017-05-23create_ref_entry(): remove `check_name` optionLibravatar Michael Haggerty1-4/+8
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 Haggerty1-16/+24
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 Haggerty1-17/+0
2017-05-23ref_transaction_prepare(): new optional step for reference updatesLibravatar Michael Haggerty1-13/+50
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 Haggerty1-2/+2
2017-05-23refs: use `size_t` indexes when iterating over ref transaction updatesLibravatar Michael Haggerty1-2/+4
2017-05-23files-backend: use `die("BUG: ...")`, not `die("internal error: ...")`Libravatar Michael Haggerty1-4/+4
2017-05-23Merge branch 'bc/object-id'Libravatar Junio C Hamano1-82/+74
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 Hamano1-44/+0
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. carlson1-69/+57
2017-05-08refs: convert struct ref_update to use struct object_idLibravatar brian m. carlson1-14/+15
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 Hamano1-1075/+154
2017-04-24refs: kill set_worktree_head_symref()Libravatar Nguyễn Thái Ngọc Duy1-44/+0
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-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 Haggerty1-31/+13
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 Haggerty1-2/+2
2017-04-16refs: handle "refs/bisect/" in `loose_fill_ref_dir()`Libravatar Michael Haggerty1-0/+15
2017-04-16ref-cache: use a callback function to fill the cacheLibravatar Michael Haggerty1-4/+6
2017-04-16refs: record the ref_store in ref_cache, not ref_dirLibravatar Michael Haggerty1-3/+3
2017-04-16ref-cache: introduce a new type, ref_cacheLibravatar Michael Haggerty1-11/+17
2017-04-16refs: split `ref_cache` code into separate filesLibravatar Michael Haggerty1-733/+3
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
2017-04-16refs_verify_refname_available(): implement once for all backendsLibravatar Michael Haggerty1-31/+8