summaryrefslogtreecommitdiff
path: root/refs.c
AgeCommit message (Expand)AuthorFilesLines
2017-02-13read_loose_refs(): read refs using resolve_ref_recursively()Libravatar Michael Haggerty1-4/+4
2017-02-10base_ref_store_init(): remove submodule argumentLibravatar Michael Haggerty1-2/+1
2017-02-10refs: push the submodule attribute downLibravatar Michael Haggerty1-11/+0
2017-02-10refs: store submodule ref stores in a hashmapLibravatar Michael Haggerty1-13/+45
2017-02-10register_ref_store(): new functionLibravatar Michael Haggerty1-14/+29
2017-02-10refs: remove some unnecessary handling of submodule == ""Libravatar Michael Haggerty1-11/+2
2017-02-10refs: make some ref_store lookup functions privateLibravatar Michael Haggerty1-2/+17
2017-02-10refs: reorder some function definitionsLibravatar Michael Haggerty1-32/+32
2017-01-31refs: add option core.logAllRefUpdates = alwaysLibravatar Cornelius Weig1-5/+10
2016-10-26Merge branch 'jc/cocci-xstrdup-or-null'Libravatar Junio C Hamano1-2/+1
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Libravatar Junio C Hamano1-2/+1
2016-10-10Merge branch 'nd/shallow-deepen'Libravatar Junio C Hamano1-1/+7
2016-09-19Merge branch 'bc/object-id'Libravatar Junio C Hamano1-0/+8
2016-09-19Merge branch 'mh/ref-store'Libravatar Junio C Hamano1-10/+299
2016-09-09refs: add method to rename refsLibravatar David Turner1-0/+7
2016-09-09refs: add methods to init refs dbLibravatar David Turner1-0/+8
2016-09-09refs: make delete_refs() virtualLibravatar David Turner1-0/+7
2016-09-09refs: add method for initial ref transaction commitLibravatar David Turner1-0/+8
2016-09-09refs: add methods for reflogLibravatar David Turner1-0/+63
2016-09-09refs: add method iterator_beginLibravatar Michael Haggerty1-1/+1
2016-09-09files_ref_iterator_begin(): take a ref_store argumentLibravatar Michael Haggerty1-1/+1
2016-09-09refs: make peel_ref() virtualLibravatar Michael Haggerty1-0/+7
2016-09-09refs: make create_symref() virtualLibravatar Michael Haggerty1-0/+9
2016-09-09refs: make pack_refs() virtualLibravatar Michael Haggerty1-0/+7
2016-09-09refs: make verify_refname_available() virtualLibravatar Michael Haggerty1-0/+10
2016-09-09refs: make read_raw_ref() virtualLibravatar Michael Haggerty1-2/+2
2016-09-09resolve_gitlink_ref(): rename path parameter to submoduleLibravatar Michael Haggerty1-6/+7
2016-09-09resolve_gitlink_ref(): avoid memory allocation in many casesLibravatar Michael Haggerty1-6/+13
2016-09-09resolve_gitlink_ref(): implement using resolve_ref_recursively()Libravatar Michael Haggerty1-0/+24
2016-09-09resolve_ref_recursively(): new functionLibravatar Michael Haggerty1-3/+11
2016-09-09read_raw_ref(): take a (struct ref_store *) argumentLibravatar Michael Haggerty1-1/+3
2016-09-09refs: add a transaction_commit() methodLibravatar Ronnie Sahlberg1-0/+9
2016-09-09refs: create a base class "ref_store" for files_ref_storeLibravatar Michael Haggerty1-0/+93
2016-09-09refs: add a backend method structureLibravatar Ronnie Sahlberg1-0/+19
2016-09-09rename_ref_available(): add docstringLibravatar David Turner1-6/+6
2016-09-07refs: add an update_ref_oid function.Libravatar brian m. carlson1-0/+8
2016-08-01pass constants as first argument to st_mult()Libravatar René Scharfe1-1/+1
2016-06-20do_for_each_ref(): reimplement using reference iterationLibravatar Michael Haggerty1-0/+20
2016-06-13refs: add expand_ref()Libravatar Nguyễn Thái Ngọc Duy1-1/+7
2016-06-13ref_transaction_update(): check refname_is_safe() at a minimumLibravatar Michael Haggerty1-2/+3
2016-06-13add_update(): initialize the whole ref_updateLibravatar Michael Haggerty1-22/+26
2016-06-13ref_transaction_create(): disallow recursive pruningLibravatar Michael Haggerty1-0/+3
2016-06-13refs: make error messages more consistentLibravatar Michael Haggerty1-4/+4
2016-05-05refname_is_safe(): insist that the refname already be normalizedLibravatar Michael Haggerty1-2/+7
2016-05-05refname_is_safe(): don't allow the empty stringLibravatar Michael Haggerty1-2/+3
2016-05-05refname_is_safe(): use skip_prefix()Libravatar Michael Haggerty1-3/+5
2016-04-10refs: move resolve_ref_unsafe into common codeLibravatar David Turner1-0/+74
2016-04-10refs: move for_each_*ref* functions into common codeLibravatar David Turner1-0/+52
2016-04-10refs: move head_ref{,_submodule} to the common codeLibravatar David Turner1-0/+23
2016-02-22use st_add and st_mult for allocation size computationLibravatar Jeff King1-1/+1