summaryrefslogtreecommitdiffstats
path: root/refs.c
AgeCommit message (Expand)AuthorLines
2017-01-31refs: add option core.logAllRefUpdates = alwaysCornelius Weig-5/+10
2016-10-26Merge branch 'jc/cocci-xstrdup-or-null'Junio C Hamano-2/+1
2016-10-12cocci: refactor common patterns to use xstrdup_or_null()Junio C Hamano-2/+1
2016-10-10Merge branch 'nd/shallow-deepen'Junio C Hamano-1/+7
2016-09-19Merge branch 'bc/object-id'Junio C Hamano-0/+8
2016-09-19Merge branch 'mh/ref-store'Junio C Hamano-10/+299
2016-09-09refs: add method to rename refsDavid Turner-0/+7
2016-09-09refs: add methods to init refs dbDavid Turner-0/+8
2016-09-09refs: make delete_refs() virtualDavid Turner-0/+7
2016-09-09refs: add method for initial ref transaction commitDavid Turner-0/+8
2016-09-09refs: add methods for reflogDavid Turner-0/+63
2016-09-09refs: add method iterator_beginMichael Haggerty-1/+1
2016-09-09files_ref_iterator_begin(): take a ref_store argumentMichael Haggerty-1/+1
2016-09-09refs: make peel_ref() virtualMichael Haggerty-0/+7
2016-09-09refs: make create_symref() virtualMichael Haggerty-0/+9
2016-09-09refs: make pack_refs() virtualMichael Haggerty-0/+7
2016-09-09refs: make verify_refname_available() virtualMichael Haggerty-0/+10
2016-09-09refs: make read_raw_ref() virtualMichael Haggerty-2/+2
2016-09-09resolve_gitlink_ref(): rename path parameter to submoduleMichael Haggerty-6/+7
2016-09-09resolve_gitlink_ref(): avoid memory allocation in many casesMichael Haggerty-6/+13
2016-09-09resolve_gitlink_ref(): implement using resolve_ref_recursively()Michael Haggerty-0/+24
2016-09-09resolve_ref_recursively(): new functionMichael Haggerty-3/+11
2016-09-09read_raw_ref(): take a (struct ref_store *) argumentMichael Haggerty-1/+3
2016-09-09refs: add a transaction_commit() methodRonnie Sahlberg-0/+9
2016-09-09refs: create a base class "ref_store" for files_ref_storeMichael Haggerty-0/+93
2016-09-09refs: add a backend method structureRonnie Sahlberg-0/+19
2016-09-09rename_ref_available(): add docstringDavid Turner-6/+6
2016-09-07refs: add an update_ref_oid function.brian m. carlson-0/+8
2016-08-01pass constants as first argument to st_mult()René Scharfe-1/+1
2016-06-20do_for_each_ref(): reimplement using reference iterationMichael Haggerty-0/+20
2016-06-13refs: add expand_ref()Nguyễn Thái Ngọc Duy-1/+7
2016-06-13ref_transaction_update(): check refname_is_safe() at a minimumMichael Haggerty-2/+3
2016-06-13add_update(): initialize the whole ref_updateMichael Haggerty-22/+26
2016-06-13ref_transaction_create(): disallow recursive pruningMichael Haggerty-0/+3
2016-06-13refs: make error messages more consistentMichael Haggerty-4/+4
2016-05-05refname_is_safe(): insist that the refname already be normalizedMichael Haggerty-2/+7
2016-05-05refname_is_safe(): don't allow the empty stringMichael Haggerty-2/+3
2016-05-05refname_is_safe(): use skip_prefix()Michael Haggerty-3/+5
2016-04-10refs: move resolve_ref_unsafe into common codeDavid Turner-0/+74
2016-04-10refs: move for_each_*ref* functions into common codeDavid Turner-0/+52
2016-04-10refs: move head_ref{,_submodule} to the common codeDavid Turner-0/+23
2016-02-22use st_add and st_mult for allocation size computationJeff King-1/+1
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King-4/+2
2016-02-22use xmallocz to avoid size arithmeticJeff King-1/+1
2015-12-10Merge branch 'bc/object-id'Junio C Hamano-1/+1
2015-12-08Merge branch 'dt/refs-backend-pre-vtable'Junio C Hamano-3669/+42
2015-11-20Remove get_object_hash.brian m. carlson-1/+1
2015-11-20Add several uses of get_object_hash.brian m. carlson-1/+1
2015-11-20refs: break out ref conflict checksDavid Turner-0/+44
2015-11-20refs: split filesystem-based refs code into a new fileMichael Haggerty-3535/+4