summaryrefslogtreecommitdiff
path: root/refs.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'bc/object-id'Junio C Hamano2016-09-191-0/+8
|\
| * refs: add an update_ref_oid function.brian m. carlson2016-09-071-0/+8
* | Merge branch 'mh/ref-store'Junio C Hamano2016-09-191-10/+299
|\ \ | |/ |/|
| * refs: add method to rename refsDavid Turner2016-09-091-0/+7
| * refs: add methods to init refs dbDavid Turner2016-09-091-0/+8
| * refs: make delete_refs() virtualDavid Turner2016-09-091-0/+7
| * refs: add method for initial ref transaction commitDavid Turner2016-09-091-0/+8
| * refs: add methods for reflogDavid Turner2016-09-091-0/+63
| * refs: add method iterator_beginMichael Haggerty2016-09-091-1/+1
| * files_ref_iterator_begin(): take a ref_store argumentMichael Haggerty2016-09-091-1/+1
| * refs: make peel_ref() virtualMichael Haggerty2016-09-091-0/+7
| * refs: make create_symref() virtualMichael Haggerty2016-09-091-0/+9
| * refs: make pack_refs() virtualMichael Haggerty2016-09-091-0/+7
| * refs: make verify_refname_available() virtualMichael Haggerty2016-09-091-0/+10
| * refs: make read_raw_ref() virtualMichael Haggerty2016-09-091-2/+2
| * resolve_gitlink_ref(): rename path parameter to submoduleMichael Haggerty2016-09-091-6/+7
| * resolve_gitlink_ref(): avoid memory allocation in many casesMichael Haggerty2016-09-091-6/+13
| * resolve_gitlink_ref(): implement using resolve_ref_recursively()Michael Haggerty2016-09-091-0/+24
| * resolve_ref_recursively(): new functionMichael Haggerty2016-09-091-3/+11
| * read_raw_ref(): take a (struct ref_store *) argumentMichael Haggerty2016-09-091-1/+3
| * refs: add a transaction_commit() methodRonnie Sahlberg2016-09-091-0/+9
| * refs: create a base class "ref_store" for files_ref_storeMichael Haggerty2016-09-091-0/+93
| * refs: add a backend method structureRonnie Sahlberg2016-09-091-0/+19
| * rename_ref_available(): add docstringDavid Turner2016-09-091-6/+6
* | pass constants as first argument to st_mult()rs/st-multRené Scharfe2016-08-011-1/+1
|/
* do_for_each_ref(): reimplement using reference iterationMichael Haggerty2016-06-201-0/+20
* ref_transaction_update(): check refname_is_safe() at a minimumMichael Haggerty2016-06-131-2/+3
* add_update(): initialize the whole ref_updateMichael Haggerty2016-06-131-22/+26
* ref_transaction_create(): disallow recursive pruningMichael Haggerty2016-06-131-0/+3
* refs: make error messages more consistentMichael Haggerty2016-06-131-4/+4
* refname_is_safe(): insist that the refname already be normalizedMichael Haggerty2016-05-051-2/+7
* refname_is_safe(): don't allow the empty stringMichael Haggerty2016-05-051-2/+3
* refname_is_safe(): use skip_prefix()Michael Haggerty2016-05-051-3/+5
* refs: move resolve_ref_unsafe into common codeDavid Turner2016-04-101-0/+74
* refs: move for_each_*ref* functions into common codeDavid Turner2016-04-101-0/+52
* refs: move head_ref{,_submodule} to the common codeDavid Turner2016-04-101-0/+23
* use st_add and st_mult for allocation size computationJeff King2016-02-221-1/+1
* convert trivial cases to FLEX_ARRAY macrosJeff King2016-02-221-4/+2
* use xmallocz to avoid size arithmeticJeff King2016-02-221-1/+1
* Merge branch 'bc/object-id'Junio C Hamano2015-12-101-1/+1
|\
| * Remove get_object_hash.brian m. carlson2015-11-201-1/+1
| * Add several uses of get_object_hash.brian m. carlson2015-11-201-1/+1
* | Merge branch 'dt/refs-backend-pre-vtable'Junio C Hamano2015-12-081-3669/+42
|\ \ | |/ |/|
| * refs: break out ref conflict checksdt/refs-backend-pre-vtableDavid Turner2015-11-201-0/+44
| * refs: split filesystem-based refs code into a new fileMichael Haggerty2015-11-201-3535/+4
| * refs/refs-internal.h: new header fileMichael Haggerty2015-11-201-165/+9
| * refname_is_safe(): improve docstringMichael Haggerty2015-11-201-6/+10
| * pack_if_possible_fn(): use ref_type() instead of is_per_worktree_ref()Michael Haggerty2015-11-201-3/+1
| * copy_msg(): rename to copy_reflog_msg()David Turner2015-11-201-2/+2
| * verify_refname_available(): new functionRonnie Sahlberg2015-11-201-26/+40